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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 109.7 kB / 18.33 MB, free: 4.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001999/0.001999, allocations: 185.9 kB / 21.5 MB, free: 0.9219 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.746/1.746, allocations: 207.6 MB / 232.1 MB, free: 11.11 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.2356/0.2356, allocations: 44.24 MB / 328.4 MB, free: 10.07 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 78.02 kB / 465.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1447, allocations: 61.01 MB / 0.5142 GB, free: 7.812 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.004178/0.1489, allocations: 2.653 MB / 0.5168 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.1502, allocations: 0.7875 MB / 0.5176 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1503, allocations: 11.94 kB / 0.5176 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.1506, allocations: 75.36 kB / 0.5176 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002224/0.1508, allocations: 99.17 kB / 0.5177 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.151, allocations: 103.9 kB / 0.5178 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.1514, allocations: 414.5 kB / 0.5182 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.1517, allocations: 107.3 kB / 0.5183 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.1519, allocations: 159.4 kB / 0.5185 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.1521, allocations: 171.2 kB / 0.5186 GB, free: 3.223 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.664e-05/0.1521, allocations: 32 kB / 0.5187 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.1522, allocations: 32 kB / 0.5187 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.893e-05/0.1523, allocations: 75.77 kB / 0.5188 GB, free: 3.086 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.1524, allocations: 183 kB / 0.5189 GB, free: 2.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.1529, allocations: 422.2 kB / 0.5194 GB, free: 2.492 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1529, allocations: 0 / 0.5194 GB, free: 2.492 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1529, allocations: 0 / 0.5194 GB, free: 2.492 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.1529, allocations: 4 kB / 0.5194 GB, free: 2.488 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.001052/0.1539, allocations: 0.6741 MB / 0.52 GB, free: 1.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.154, allocations: 11.89 kB / 0.52 GB, free: 1.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.06e-05/0.154, allocations: 48.66 kB / 0.5201 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.1544, allocations: 272.9 kB / 0.5203 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.1545, allocations: 29.38 kB / 0.5204 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.1545, allocations: 36.31 kB / 0.5204 GB, free: 1.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006706/0.1552, allocations: 358.2 kB / 0.5207 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.1552, allocations: 4 kB / 0.5207 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.403e-05/0.1552, allocations: 19.98 kB / 0.5208 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1552, allocations: 8 kB / 0.5208 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006124/0.1559, allocations: 263.8 kB / 0.521 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002063/0.1579, allocations: 1.343 MB / 0.5223 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/0.1584, allocations: 198.5 kB / 0.5225 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.1586, allocations: 79.56 kB / 0.5226 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.1586, allocations: 4 kB / 0.5226 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.1587, allocations: 38.55 kB / 0.5226 GB, free: 14.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.1587, allocations: 0 / 0.5226 GB, free: 14.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007406/0.1594, allocations: 249.5 kB / 0.5229 GB, free: 14.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.103e-05/0.1595, allocations: 136.5 kB / 0.523 GB, free: 14.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.1599, allocations: 328.4 kB / 0.5233 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1599, allocations: 29.7 kB / 0.5233 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001923/0.1601, allocations: 236.2 kB / 0.5236 GB, free: 13.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.1601, allocations: 59.45 kB / 0.5236 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.876e-05/0.1602, allocations: 61.97 kB / 0.5237 GB, free: 13.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1604, allocations: 346.7 kB / 0.524 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.1606, allocations: 76.5 kB / 0.5241 GB, free: 13.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.1609, allocations: 168.2 kB / 0.5242 GB, free: 13.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/0.1614, allocations: 254.9 kB / 0.5245 GB, free: 12.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1614, allocations: 0 / 0.5245 GB, free: 12.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006246/0.162, allocations: 305.6 kB / 0.5248 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.162, allocations: 8.25 kB / 0.5248 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.162, allocations: 8 kB / 0.5248 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1621, allocations: 4 kB / 0.5248 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003922/0.1625, allocations: 95.86 kB / 0.5249 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.1625, allocations: 8 kB / 0.5249 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002574/0.1627, allocations: 43.72 kB / 0.5249 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.1628, allocations: 16 kB / 0.525 GB, free: 12.32 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.0001495/0.1629, allocations: 157.6 kB / 0.5251 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.767e-05/0.163, allocations: 31.81 kB / 0.5251 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.417e-05/0.1631, allocations: 30.41 kB / 0.5252 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.1631, allocations: 4 kB / 0.5252 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.1631, allocations: 0 / 0.5252 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.716e-06/0.1631, allocations: 0 / 0.5252 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008326/0.1639, allocations: 0.5954 MB / 0.5258 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1639, allocations: 0 / 0.5258 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.1642, allocations: 59.88 kB / 0.5258 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1642, allocations: 0 / 0.5258 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.1642, allocations: 11.88 kB / 0.5258 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1642, allocations: 4 kB / 0.5258 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1642, allocations: 4.156 kB / 0.5258 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/0.1648, allocations: 398.7 kB / 0.5262 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.512e-05/0.1649, allocations: 112.8 kB / 0.5263 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/0.1649, allocations: 11.94 kB / 0.5263 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.1651, allocations: 11.98 kB / 0.5263 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.417e-05/0.1652, allocations: 11.98 kB / 0.5264 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.1652, allocations: 12 kB / 0.5264 GB, free: 10.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002379/0.1655, allocations: 231 kB / 0.5266 GB, free: 10.53 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1655, allocations: 0 / 0.5266 GB, free: 10.53 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003792/0.1658, allocations: 71.89 kB / 0.5267 GB, free: 10.46 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.0001136/0.1659, allocations: 103.1 kB / 0.5268 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005114/0.1665, allocations: 183.8 kB / 0.5269 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1665, allocations: 0 / 0.5269 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.1667, allocations: 79.83 kB / 0.527 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.1671, allocations: 35.55 kB / 0.527 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009934/0.1681, allocations: 0.5605 MB / 0.5276 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.1685, allocations: 0.7675 MB / 0.5283 GB, free: 8.664 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.1686, allocations: 30.2 kB / 0.5284 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.1686, allocations: 19.44 kB / 0.5284 GB, free: 8.609 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1686, allocations: 0 / 0.5284 GB, free: 8.609 MB / 414.1 MB Notification: Performance of Templates: time 0.005554/0.1742, allocations: 1.947 MB / 0.5303 GB, free: 6.664 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.673611544072628]