Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.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.001416/0.001416, allocations: 80.31 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001762/0.001762, allocations: 168.4 kB / 25.61 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.015/1.015, allocations: 177.1 MB / 206.1 MB, free: 4.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.18/0.18, allocations: 34.26 MB / 296.9 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.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_4.1.0_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_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 379.3 MB, free: 23.44 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.664e-05/1.79e-05, allocations: 2.312 kB / 379.3 MB, free: 23.43 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.002437/0.002455, allocations: 2.651 MB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.003471, allocations: 0.7748 MB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.003627, allocations: 8 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.003817, allocations: 67.36 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.004, allocations: 115 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000223/0.004223, allocations: 119.8 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.004476, allocations: 430.3 kB / 383.4 MB, free: 19.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.004616, allocations: 99.83 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.004793, allocations: 231.5 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.004894, allocations: 123.6 kB / 383.9 MB, free: 18.81 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.004925, allocations: 36 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.666e-05/0.004952, allocations: 32 kB / 383.9 MB, free: 18.74 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.00499, allocations: 83.72 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.259e-05/0.005052, allocations: 119.6 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.005274, allocations: 271 kB / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.005277, allocations: 0 / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005277, allocations: 0 / 384.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.005284, allocations: 0 / 384.4 MB, free: 18.28 MB / 314.7 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.0006356/0.00592, allocations: 0.6986 MB / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.005961, allocations: 8.031 kB / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.006034, allocations: 72.66 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.006259, allocations: 231.5 kB / 385.4 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.006278, allocations: 25.38 kB / 385.4 MB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.006306, allocations: 32.38 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.006637, allocations: 294.9 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.006648, allocations: 0 / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.006668, allocations: 16 kB / 385.8 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.006676, allocations: 8 kB / 385.8 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.006799, allocations: 102.6 kB / 385.9 MB, free: 16.72 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.007849, allocations: 1.279 MB / 387.1 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.008067, allocations: 168.5 kB / 387.3 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.008107, allocations: 50.91 kB / 387.4 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.00813, allocations: 4 kB / 387.4 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.008149, allocations: 45.27 kB / 387.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.444e-06/0.008151, allocations: 0 / 387.4 MB, free: 15.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002312/0.008382, allocations: 129.4 kB / 387.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.008414, allocations: 136.5 kB / 387.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.008568, allocations: 334 kB / 388 MB, free: 14.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.008589, allocations: 33.83 kB / 388 MB, free: 14.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.008677, allocations: 302.7 kB / 388.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.0087, allocations: 55.53 kB / 388.4 MB, free: 13.99 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.502e-05/0.008755, allocations: 59.56 kB / 388.4 MB, free: 13.92 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.008821, allocations: 0.5118 MB / 388.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.008858, allocations: 24.53 kB / 389 MB, free: 13.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.008928, allocations: 152.9 kB / 389.1 MB, free: 13.17 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.009054, allocations: 195.9 kB / 389.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.009057, allocations: 0.5 kB / 389.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0001953/0.009252, allocations: 197.2 kB / 389.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.009268, allocations: 11.94 kB / 389.5 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.009275, allocations: 8.25 kB / 389.5 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.009286, allocations: 8 kB / 389.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.009457, allocations: 75.89 kB / 389.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.009462, allocations: 11.94 kB / 389.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.009565, allocations: 39.72 kB / 389.7 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.009577, allocations: 12 kB / 389.7 MB, free: 12.56 MB / 314.7 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 6.651e-05/0.009643, allocations: 180.4 kB / 389.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.677e-05/0.0097, allocations: 31.8 kB / 389.9 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.009733, allocations: 29.58 kB / 389.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.009736, allocations: 4 kB / 389.9 MB, free: 12.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.009739, allocations: 4 kB / 389.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.009742, allocations: 0 / 389.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.01011, allocations: 0.5462 MB / 390.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01011, allocations: 0 / 390.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.741e-05/0.01019, allocations: 47.91 kB / 390.5 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.0102, allocations: 7.938 kB / 390.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.01021, allocations: 4.156 kB / 390.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01021, allocations: 4 kB / 390.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.01021, allocations: 4 kB / 390.5 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.01035, allocations: 428.6 kB / 390.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.01037, allocations: 23.81 kB / 391 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.01039, allocations: 11.98 kB / 391 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.01048, allocations: 8 kB / 391 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.01053, allocations: 15.97 kB / 391 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.01053, allocations: 8 kB / 391 MB, free: 11.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.673e-05/0.01061, allocations: 214.9 kB / 391.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01061, allocations: 4 kB / 391.2 MB, free: 10.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002509/0.01086, allocations: 79.78 kB / 391.3 MB, free: 10.82 MB / 314.7 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 7.83e-05/0.01094, allocations: 99.19 kB / 391.4 MB, free: 10.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.01109, allocations: 112.2 kB / 391.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01109, allocations: 0 / 391.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.994e-05/0.01113, allocations: 44.3 kB / 391.6 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.01141, allocations: 29.08 kB / 391.6 MB, free: 10.53 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.01193, allocations: 0.5397 MB / 392.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.331e-05/0.01197, allocations: 99.77 kB / 392.2 MB, free: 9.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.138e-05/0.01204, allocations: 21.89 kB / 392.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.0121, allocations: 86.2 kB / 392.3 MB, free: 9.707 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.0121, allocations: 0 / 392.3 MB, free: 9.707 MB / 314.7 MB Notification: Performance of Templates: time 0.003466/0.01556, allocations: 1.705 MB / 394 MB, free: 8.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5201960960403085]