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.0023/0.0023, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002718/0.002718, allocations: 169.3 kB / 24.27 MB, free: 156 kB / 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.614/1.614, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3848/0.3848, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] 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 2.264e-06/2.264e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.393e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004966/0.005, allocations: 2.666 MB / 379.9 MB, free: 304 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001593/0.006593, allocations: 0.771 MB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.006735, allocations: 7.938 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.006981, allocations: 71.39 kB / 380.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.007266, allocations: 111.1 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.00757, allocations: 123.7 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005261/0.008096, allocations: 426.3 kB / 381.4 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002532/0.00835, allocations: 95.83 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003326/0.008682, allocations: 231.5 kB / 381.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.008896, allocations: 127.6 kB / 381.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.445e-05/0.00896, allocations: 32 kB / 381.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.283e-05/0.009023, allocations: 32 kB / 381.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.016e-05/0.009113, allocations: 79.67 kB / 382 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.009278, allocations: 127.7 kB / 382.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005604/0.009839, allocations: 430.6 kB / 382.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.009844, allocations: 0 / 382.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.009846, allocations: 0 / 382.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.009854, allocations: 0 / 382.6 MB, free: 13.66 MB / 362.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.00125/0.0111, allocations: 0.7218 MB / 383.3 MB, free: 12.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.01115, allocations: 8.031 kB / 383.3 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.01127, allocations: 68.66 kB / 383.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003804/0.01165, allocations: 231.4 kB / 383.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.01168, allocations: 25.38 kB / 383.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.01173, allocations: 36.38 kB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006888/0.01242, allocations: 374.3 kB / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.01244, allocations: 0 / 384 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.01247, allocations: 12 kB / 384 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.01248, allocations: 8 kB / 384 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005633/0.01304, allocations: 235.8 kB / 384.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002293/0.01534, allocations: 1.423 MB / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.01586, allocations: 228.4 kB / 385.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001926/0.01605, allocations: 78.89 kB / 386 MB, free: 9.996 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.426e-05/0.01609, allocations: 11.94 kB / 386 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.01613, allocations: 33.39 kB / 386 MB, free: 9.941 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 1.263e-06/0.01613, allocations: 0 / 386 MB, free: 9.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006781/0.01681, allocations: 229.3 kB / 386.2 MB, free: 9.711 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001062/0.01691, allocations: 136.5 kB / 386.4 MB, free: 9.547 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007503/0.01766, allocations: 394.2 kB / 386.8 MB, free: 9.145 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.01769, allocations: 29.7 kB / 386.8 MB, free: 9.109 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.01795, allocations: 306.7 kB / 387.1 MB, free: 8.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.519e-05/0.018, allocations: 51.59 kB / 387.1 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.01812, allocations: 67.59 kB / 387.2 MB, free: 8.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002968/0.01842, allocations: 0.5235 MB / 387.7 MB, free: 8.141 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.01861, allocations: 68.66 kB / 387.8 MB, free: 8.074 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.01891, allocations: 193 kB / 388 MB, free: 7.832 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/0.01939, allocations: 279.7 kB / 388.3 MB, free: 7.504 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.0194, allocations: 4 kB / 388.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000613/0.02001, allocations: 289 kB / 388.5 MB, free: 7.211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.02003, allocations: 4 kB / 388.5 MB, free: 7.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.02004, allocations: 4 kB / 388.6 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.02006, allocations: 4.25 kB / 388.6 MB, free: 7.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000354/0.02042, allocations: 83.89 kB / 388.6 MB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.02043, allocations: 4 kB / 388.6 MB, free: 7.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.02066, allocations: 39.72 kB / 388.7 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.02069, allocations: 16 kB / 388.7 MB, free: 7.059 MB / 362.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 0.0002112/0.0209, allocations: 196.5 kB / 388.9 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.02101, allocations: 27.8 kB / 388.9 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.817e-05/0.02108, allocations: 29.58 kB / 388.9 MB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.02109, allocations: 7.938 kB / 389 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.02109, allocations: 4 kB / 389 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.0211, allocations: 4.281 kB / 389 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/0.02203, allocations: 0.6589 MB / 389.6 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.02204, allocations: 4.562 kB / 389.6 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.02224, allocations: 35.97 kB / 389.7 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.297e-06/0.02225, allocations: 7.984 kB / 389.7 MB, free: 6.016 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.02227, allocations: 12 kB / 389.7 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.02227, allocations: 160 / 389.7 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.02228, allocations: 11.94 kB / 389.7 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000592/0.02287, allocations: 484.6 kB / 390.2 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.733e-05/0.02293, allocations: 31.81 kB / 390.2 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.02296, allocations: 0 / 390.2 MB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.02315, allocations: 15.98 kB / 390.2 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.02323, allocations: 23.84 kB / 390.2 MB, free: 5.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.02325, allocations: 8 kB / 390.2 MB, free: 5.402 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002565/0.0235, allocations: 251 kB / 390.5 MB, free: 5.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0235, allocations: 4 kB / 390.5 MB, free: 5.156 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004108/0.02391, allocations: 79.78 kB / 390.6 MB, free: 5.078 MB / 362.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 0.0001356/0.02405, allocations: 95.25 kB / 390.7 MB, free: 4.973 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004764/0.02453, allocations: 191.3 kB / 390.8 MB, free: 4.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.02453, allocations: 0.5 kB / 390.8 MB, free: 4.781 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.02472, allocations: 79.59 kB / 390.9 MB, free: 4.699 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.02513, allocations: 20.59 kB / 390.9 MB, free: 4.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.02625, allocations: 0.5884 MB / 391.5 MB, free: 4.039 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001976/0.02645, allocations: 164.8 kB / 391.7 MB, free: 3.855 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.329e-05/0.02654, allocations: 21.62 kB / 391.7 MB, free: 3.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.906e-05/0.02661, allocations: 20.5 kB / 391.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.02661, allocations: 0 / 391.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of Templates: time 0.005546/0.03216, allocations: 1.527 MB / 393.3 MB, free: 2.305 MB / 362.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 4.975546135916375]