Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 117.1 kB / 19.13 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 210.5 kB / 22.08 MB, free: 1.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 252.3 MB, free: 124 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2386/0.2386, allocations: 46.17 MB / 351.8 MB, free: 14.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 77.39 kB / 490.9 MB, free: 28.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1298, allocations: 62.45 MB / 0.5403 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004165/0.1341, allocations: 2.689 MB / 0.543 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1356, allocations: 0.7944 MB / 0.5437 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.1357, allocations: 4 kB / 0.5437 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.136, allocations: 71.33 kB / 0.5438 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003373/0.1364, allocations: 111.2 kB / 0.5439 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.1367, allocations: 103.8 kB / 0.544 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004789/0.1371, allocations: 423.8 kB / 0.5444 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/0.1374, allocations: 144 kB / 0.5446 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.1376, allocations: 139.5 kB / 0.5447 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.1379, allocations: 175.2 kB / 0.5449 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/0.1379, allocations: 32 kB / 0.5449 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.838e-05/0.138, allocations: 32 kB / 0.5449 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.088e-05/0.1381, allocations: 83.67 kB / 0.545 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.1383, allocations: 183 kB / 0.5452 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.1388, allocations: 426.2 kB / 0.5456 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.1388, allocations: 4 kB / 0.5456 GB, free: 14.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1388, allocations: 0 / 0.5456 GB, free: 14.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1388, allocations: 0 / 0.5456 GB, free: 14.89 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001146/0.14, allocations: 0.6858 MB / 0.5463 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.14, allocations: 9.109 kB / 0.5463 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.037e-05/0.1401, allocations: 40.7 kB / 0.5463 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.1405, allocations: 282.7 kB / 0.5466 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.1406, allocations: 29.38 kB / 0.5466 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.727e-05/0.1406, allocations: 28.38 kB / 0.5466 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007095/0.1413, allocations: 370.1 kB / 0.547 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1414, allocations: 0 / 0.547 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/0.1414, allocations: 12 kB / 0.547 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.1414, allocations: 8 kB / 0.547 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000657/0.1421, allocations: 274.4 kB / 0.5473 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002165/0.1443, allocations: 1.347 MB / 0.5486 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000515/0.1448, allocations: 198.6 kB / 0.5488 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.145, allocations: 87.45 kB / 0.5488 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.1451, allocations: 0 / 0.5488 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.1451, allocations: 38.56 kB / 0.5489 GB, free: 11.26 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.1451, allocations: 0 / 0.5489 GB, free: 11.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008395/0.146, allocations: 253.2 kB / 0.5491 GB, free: 11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.749e-05/0.1461, allocations: 140.6 kB / 0.5493 GB, free: 10.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.1465, allocations: 341.6 kB / 0.5496 GB, free: 10.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.1465, allocations: 33.7 kB / 0.5496 GB, free: 10.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.1467, allocations: 236.2 kB / 0.5498 GB, free: 10.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.1468, allocations: 55.53 kB / 0.5499 GB, free: 10.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.657e-05/0.1469, allocations: 57.94 kB / 0.55 GB, free: 10.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1471, allocations: 346.7 kB / 0.5503 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.1473, allocations: 80.5 kB / 0.5504 GB, free: 9.672 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.1476, allocations: 176.1 kB / 0.5505 GB, free: 9.461 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.1482, allocations: 246.9 kB / 0.5508 GB, free: 9.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1482, allocations: 0 / 0.5508 GB, free: 9.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006977/0.1489, allocations: 313.1 kB / 0.5511 GB, free: 8.867 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1489, allocations: 10.03 kB / 0.5511 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1489, allocations: 288 / 0.5511 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.149, allocations: 8 kB / 0.5511 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.1494, allocations: 96.11 kB / 0.5512 GB, free: 8.758 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1495, allocations: 7.938 kB / 0.5512 GB, free: 8.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.1497, allocations: 47.7 kB / 0.5512 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.1498, allocations: 12 kB / 0.5512 GB, free: 8.691 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.1499, allocations: 153.6 kB / 0.5514 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.15, allocations: 35.8 kB / 0.5514 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.19e-05/0.1501, allocations: 34.41 kB / 0.5514 GB, free: 8.461 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.1501, allocations: 8 kB / 0.5515 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1501, allocations: 0 / 0.5515 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1502, allocations: 4 kB / 0.5515 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008451/0.151, allocations: 0.5882 MB / 0.552 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.151, allocations: 4.156 kB / 0.552 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.1513, allocations: 55.89 kB / 0.5521 GB, free: 7.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.1514, allocations: 7.984 kB / 0.5521 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.1514, allocations: 15.88 kB / 0.5521 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1514, allocations: 4 kB / 0.5521 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1514, allocations: 4 kB / 0.5521 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/0.152, allocations: 399.8 kB / 0.5525 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.951e-05/0.1521, allocations: 116.8 kB / 0.5526 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.1522, allocations: 7.938 kB / 0.5526 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.1524, allocations: 11.98 kB / 0.5526 GB, free: 7.125 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.597e-05/0.1525, allocations: 19.97 kB / 0.5527 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.1525, allocations: 4 kB / 0.5527 GB, free: 7.102 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002552/0.1527, allocations: 239.2 kB / 0.5529 GB, free: 6.871 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1527, allocations: 0 / 0.5529 GB, free: 6.871 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003849/0.1531, allocations: 71.89 kB / 0.553 GB, free: 6.801 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.1533, allocations: 99.19 kB / 0.553 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005527/0.1538, allocations: 192.1 kB / 0.5532 GB, free: 6.504 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1538, allocations: 4.125 kB / 0.5532 GB, free: 6.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.1541, allocations: 75.89 kB / 0.5533 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.1545, allocations: 29.38 kB / 0.5533 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1555, allocations: 0.5977 MB / 0.5539 GB, free: 5.746 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.156, allocations: 0.7753 MB / 0.5547 GB, free: 4.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.927e-05/0.1561, allocations: 19.44 kB / 0.5547 GB, free: 4.926 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1561, allocations: 0 / 0.5547 GB, free: 4.926 MB / 414.1 MB Notification: Performance of Templates: time 0.005892/0.162, allocations: 3.213 MB / 0.5578 GB, free: 1.707 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.448744885041378]