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.001758/0.001758, allocations: 118 kB / 18.46 MB, free: 4.613 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.002132/0.002132, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.569/1.569, allocations: 227.4 MB / 251.6 MB, free: 15.91 MB / 206.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.2587/0.2587, allocations: 46.17 MB / 351.1 MB, free: 14.3 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.00219/0.00219, allocations: 80.69 kB / 490.2 MB, free: 27.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1348, allocations: 62.45 MB / 0.5397 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004376/0.1392, allocations: 2.69 MB / 0.5423 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1407, allocations: 0.7867 MB / 0.5431 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001494/0.1409, allocations: 7.938 kB / 0.5431 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002646/0.1412, allocations: 71.36 kB / 0.5431 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.1414, allocations: 107.2 kB / 0.5432 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.1417, allocations: 107.8 kB / 0.5433 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004647/0.1422, allocations: 422.3 kB / 0.5437 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002678/0.1425, allocations: 147.8 kB / 0.5439 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.1427, allocations: 143.5 kB / 0.544 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.1429, allocations: 171.2 kB / 0.5442 GB, free: 15.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-05/0.143, allocations: 32 kB / 0.5442 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.017e-05/0.143, allocations: 32 kB / 0.5442 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.109e-05/0.1431, allocations: 87.69 kB / 0.5443 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.1433, allocations: 183 kB / 0.5445 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.1438, allocations: 422.2 kB / 0.5449 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1438, allocations: 3.938 kB / 0.5449 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1438, allocations: 4 kB / 0.5449 GB, free: 14.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1438, allocations: 0 / 0.5449 GB, free: 14.77 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.001222/0.1451, allocations: 0.6819 MB / 0.5456 GB, free: 14.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.1451, allocations: 13.11 kB / 0.5456 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.139e-05/0.1452, allocations: 40.7 kB / 0.5456 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004758/0.1457, allocations: 286.7 kB / 0.5459 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.1457, allocations: 25.38 kB / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.038e-05/0.1458, allocations: 32.38 kB / 0.546 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007207/0.1465, allocations: 362.2 kB / 0.5463 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.1466, allocations: 3.938 kB / 0.5463 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.581e-05/0.1466, allocations: 16 kB / 0.5463 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1466, allocations: 8 kB / 0.5463 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006741/0.1473, allocations: 266.5 kB / 0.5466 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002186/0.1495, allocations: 1.343 MB / 0.5479 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000521/0.15, allocations: 206.5 kB / 0.5481 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.1503, allocations: 83.56 kB / 0.5482 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.1503, allocations: 4 kB / 0.5482 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.1503, allocations: 46.55 kB / 0.5482 GB, free: 11.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.1504, allocations: 0 / 0.5482 GB, free: 11.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008349/0.1512, allocations: 245.2 kB / 0.5485 GB, free: 10.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.1513, allocations: 132.5 kB / 0.5486 GB, free: 10.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.1517, allocations: 345.7 kB / 0.5489 GB, free: 10.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.1518, allocations: 33.7 kB / 0.5489 GB, free: 10.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.152, allocations: 244.2 kB / 0.5492 GB, free: 10.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.152, allocations: 59.47 kB / 0.5492 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1521, allocations: 53.94 kB / 0.5493 GB, free: 9.973 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001905/0.1523, allocations: 350.7 kB / 0.5496 GB, free: 9.621 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.1526, allocations: 68.52 kB / 0.5497 GB, free: 9.555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.1529, allocations: 176.2 kB / 0.5499 GB, free: 9.344 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000546/0.1535, allocations: 254.9 kB / 0.5501 GB, free: 9.055 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.1535, allocations: 0 / 0.5501 GB, free: 9.055 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006913/0.1542, allocations: 309.1 kB / 0.5504 GB, free: 8.746 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1542, allocations: 8 kB / 0.5504 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1542, allocations: 0 / 0.5504 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.1542, allocations: 4 kB / 0.5504 GB, free: 8.734 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.1547, allocations: 95.86 kB / 0.5505 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.1547, allocations: 8.125 kB / 0.5505 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.155, allocations: 47.72 kB / 0.5505 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.155, allocations: 12 kB / 0.5506 GB, free: 8.574 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.0001714/0.1552, allocations: 153.7 kB / 0.5507 GB, free: 8.414 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.952e-05/0.1553, allocations: 39.73 kB / 0.5507 GB, free: 8.375 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.116e-05/0.1554, allocations: 34.34 kB / 0.5508 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1554, allocations: 4 kB / 0.5508 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.1554, allocations: 0.5625 kB / 0.5508 GB, free: 8.336 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.1554, allocations: 4 kB / 0.5508 GB, free: 8.332 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008341/0.1562, allocations: 0.5879 MB / 0.5514 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1563, allocations: 0 / 0.5514 GB, free: 7.672 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.1566, allocations: 68.03 kB / 0.5514 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1566, allocations: 4 kB / 0.5514 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.1566, allocations: 7.938 kB / 0.5514 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.1566, allocations: 4 kB / 0.5514 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.1566, allocations: 3.984 kB / 0.5514 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.1572, allocations: 406.7 kB / 0.5518 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.1573, allocations: 112.8 kB / 0.5519 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.1574, allocations: 7.938 kB / 0.5519 GB, free: 7.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002251/0.1576, allocations: 19.98 kB / 0.552 GB, free: 7 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.1577, allocations: 11.98 kB / 0.552 GB, free: 6.988 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1577, allocations: 8 kB / 0.552 GB, free: 6.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002576/0.1579, allocations: 239.2 kB / 0.5522 GB, free: 6.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.158, allocations: 0 / 0.5522 GB, free: 6.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003843/0.1583, allocations: 67.89 kB / 0.5523 GB, free: 6.684 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.0001328/0.1585, allocations: 103.2 kB / 0.5524 GB, free: 6.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005633/0.1591, allocations: 193 kB / 0.5526 GB, free: 6.383 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1591, allocations: 0 / 0.5526 GB, free: 6.383 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.1593, allocations: 84.64 kB / 0.5526 GB, free: 6.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.1598, allocations: 27.09 kB / 0.5527 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.1608, allocations: 0.5645 MB / 0.5532 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.1612, allocations: 0.7792 MB / 0.554 GB, free: 4.859 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.798e-05/0.1613, allocations: 21.94 kB / 0.554 GB, free: 4.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.222e-05/0.1614, allocations: 23.44 kB / 0.554 GB, free: 4.816 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1614, allocations: 0 / 0.554 GB, free: 4.816 MB / 414.1 MB Notification: Performance of Templates: time 0.005509/0.1669, allocations: 1.851 MB / 0.5558 GB, free: 2.969 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.02954678516835]