Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001913/0.001913, allocations: 214.1 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2494/0.2494, allocations: 44.26 MB / 330.3 MB, free: 9.309 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Sources") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.Sources") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 72.17 kB / 468 MB, free: 3.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1566, allocations: 61.05 MB / 0.5166 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004514/0.1611, allocations: 2.451 MB / 0.519 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.1626, allocations: 0.7525 MB / 0.5198 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.1628, allocations: 7.938 kB / 0.5198 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.163, allocations: 63.44 kB / 0.5198 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002674/0.1633, allocations: 103.2 kB / 0.5199 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.1636, allocations: 111.8 kB / 0.52 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004776/0.1641, allocations: 414.5 kB / 0.5204 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.1643, allocations: 99.84 kB / 0.5205 GB, free: 2.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.1646, allocations: 155.4 kB / 0.5207 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.1648, allocations: 151.2 kB / 0.5208 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.095e-05/0.1649, allocations: 36 kB / 0.5208 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.347e-05/0.1649, allocations: 32 kB / 0.5209 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.165, allocations: 75.7 kB / 0.521 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.1652, allocations: 155.2 kB / 0.5211 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005597/0.1658, allocations: 422.2 kB / 0.5215 GB, free: 1.652 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.1658, allocations: 0 / 0.5215 GB, free: 1.652 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1658, allocations: 0 / 0.5215 GB, free: 1.652 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1658, allocations: 0 / 0.5215 GB, free: 1.652 MB / 398.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.001259/0.167, allocations: 0.6028 MB / 0.5221 GB, free: 1.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.1671, allocations: 8.031 kB / 0.5221 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.1672, allocations: 44.66 kB / 0.5221 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/0.1679, allocations: 218.7 kB / 0.5224 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.1679, allocations: 25.38 kB / 0.5224 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.168, allocations: 32.38 kB / 0.5224 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008538/0.1688, allocations: 362.2 kB / 0.5228 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.1688, allocations: 0 / 0.5228 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.1689, allocations: 19.98 kB / 0.5228 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.1689, allocations: 11.94 kB / 0.5228 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/0.1696, allocations: 267.8 kB / 0.523 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0024/0.172, allocations: 1.168 MB / 0.5242 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000584/0.1726, allocations: 186.5 kB / 0.5244 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003657/0.1729, allocations: 75.56 kB / 0.5244 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.511e-05/0.173, allocations: 11.98 kB / 0.5244 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.173, allocations: 38.56 kB / 0.5245 GB, free: 14.4 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.502e-06/0.173, allocations: 0 / 0.5245 GB, free: 14.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008715/0.1739, allocations: 241.6 kB / 0.5247 GB, free: 14.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.174, allocations: 132.5 kB / 0.5248 GB, free: 14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.1744, allocations: 284.2 kB / 0.5251 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.1744, allocations: 33.7 kB / 0.5251 GB, free: 13.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.1746, allocations: 247.9 kB / 0.5254 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.604e-05/0.1747, allocations: 59.52 kB / 0.5254 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.1748, allocations: 57.88 kB / 0.5255 GB, free: 13.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002634/0.1751, allocations: 338.8 kB / 0.5258 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.1753, allocations: 76.5 kB / 0.5259 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.1756, allocations: 164.2 kB / 0.526 GB, free: 12.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005412/0.1762, allocations: 263.4 kB / 0.5263 GB, free: 12.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1762, allocations: 0 / 0.5263 GB, free: 12.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006686/0.1768, allocations: 297.2 kB / 0.5266 GB, free: 12.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.1768, allocations: 8 kB / 0.5266 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.1769, allocations: 8.25 kB / 0.5266 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.1769, allocations: 4 kB / 0.5266 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.1773, allocations: 87.86 kB / 0.5267 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.1773, allocations: 7.938 kB / 0.5267 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.1776, allocations: 47.7 kB / 0.5267 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.1776, allocations: 16 kB / 0.5267 GB, free: 11.92 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.0001784/0.1778, allocations: 149.7 kB / 0.5269 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-05/0.1779, allocations: 27.86 kB / 0.5269 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.1779, allocations: 29.42 kB / 0.5269 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1779, allocations: 4 kB / 0.5269 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1779, allocations: 0 / 0.5269 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.178, allocations: 0 / 0.5269 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007982/0.1788, allocations: 0.4897 MB / 0.5274 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1788, allocations: 4 kB / 0.5274 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002962/0.1791, allocations: 64.03 kB / 0.5275 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.1791, allocations: 4 kB / 0.5275 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.1791, allocations: 4 kB / 0.5275 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1791, allocations: 0 / 0.5275 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.1791, allocations: 7.938 kB / 0.5275 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006242/0.1797, allocations: 394.7 kB / 0.5279 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.1798, allocations: 31.8 kB / 0.5279 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.1798, allocations: 7.984 kB / 0.5279 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.18, allocations: 15.98 kB / 0.5279 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.1801, allocations: 11.92 kB / 0.5279 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.1801, allocations: 16.05 kB / 0.528 GB, free: 10.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002089/0.1803, allocations: 195 kB / 0.5281 GB, free: 10.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1803, allocations: 0 / 0.5281 GB, free: 10.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004316/0.1807, allocations: 79.73 kB / 0.5282 GB, free: 10.31 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.0001483/0.1809, allocations: 107.2 kB / 0.5283 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005811/0.1815, allocations: 184 kB / 0.5285 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1815, allocations: 4 kB / 0.5285 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.1817, allocations: 80.64 kB / 0.5286 GB, free: 9.938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.1821, allocations: 20.97 kB / 0.5286 GB, free: 9.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.1833, allocations: 0.5536 MB / 0.5291 GB, free: 9.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.1836, allocations: 164.5 kB / 0.5293 GB, free: 9.129 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.1837, allocations: 21.91 kB / 0.5293 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.902e-05/0.1837, allocations: 19.44 kB / 0.5293 GB, free: 9.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1837, allocations: 0 / 0.5293 GB, free: 9.09 MB / 414.1 MB Notification: Performance of Templates: time 0.006769/0.1905, allocations: 1.888 MB / 0.5312 GB, free: 7.215 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Sources/Sources.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.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.884110918268561]