Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001413/0.001413, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001459/0.001459, allocations: 219 kB / 24.49 MB, free: 3.93 MB / 14.72 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 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.2466/0.2466, allocations: 46.97 MB / 361.6 MB, free: 4.066 MB / 286.1 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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003307/0.003307, allocations: 71.88 kB / 0.4973 GB, free: 7.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3334, allocations: 66.03 MB / 0.5618 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004915/0.3383, allocations: 3.236 MB / 0.565 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.3398, allocations: 0.7907 MB / 0.5657 GB, free: 160 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001947/0.34, allocations: 15.94 kB / 0.5658 GB, free: 144 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.3402, allocations: 75.23 kB / 0.5658 GB, free: 68 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000306/0.3405, allocations: 130.9 kB / 0.566 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.3409, allocations: 131.8 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005752/0.3415, allocations: 0.5218 MB / 0.5666 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.3418, allocations: 185 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.342, allocations: 211.3 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.3423, allocations: 238.9 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.496e-05/0.3424, allocations: 52 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.467e-05/0.3425, allocations: 52 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.3426, allocations: 107.6 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.3428, allocations: 211.1 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000631/0.3435, allocations: 0.5521 MB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3435, allocations: 0 / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3435, allocations: 0 / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.3435, allocations: 0 / 0.5681 GB, free: 13.7 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.00142/0.3449, allocations: 0.7 MB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3449, allocations: 12.03 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001664/0.3451, allocations: 60.53 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004747/0.3456, allocations: 267.6 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.3456, allocations: 41.31 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.669e-05/0.3457, allocations: 40.38 kB / 0.5692 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009274/0.3466, allocations: 0.5106 MB / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.3466, allocations: 0 / 0.5697 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.3467, allocations: 20 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.3467, allocations: 12 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.3474, allocations: 324.1 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002502/0.3499, allocations: 1.448 MB / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/0.3506, allocations: 225 kB / 0.5717 GB, free: 9.855 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.3509, allocations: 125.7 kB / 0.5718 GB, free: 9.727 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.3509, allocations: 4 kB / 0.5718 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.915e-05/0.351, allocations: 42.5 kB / 0.5719 GB, free: 9.672 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.824e-06/0.351, allocations: 0 / 0.5719 GB, free: 9.672 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003191/0.3542, allocations: 1.135 MB / 0.573 GB, free: 8.477 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.3542, allocations: 81.11 kB / 0.573 GB, free: 8.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.3545, allocations: 257.8 kB / 0.5733 GB, free: 8.121 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.404e-05/0.3546, allocations: 37.7 kB / 0.5733 GB, free: 8.078 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.3548, allocations: 264.1 kB / 0.5736 GB, free: 7.816 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.3549, allocations: 130.9 kB / 0.5737 GB, free: 7.688 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.355, allocations: 70.14 kB / 0.5738 GB, free: 7.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3552, allocations: 342.8 kB / 0.5741 GB, free: 7.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.3555, allocations: 104.8 kB / 0.5742 GB, free: 7.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.3558, allocations: 212.3 kB / 0.5744 GB, free: 6.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006643/0.3565, allocations: 345.1 kB / 0.5747 GB, free: 6.543 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3565, allocations: 0 / 0.5747 GB, free: 6.543 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009108/0.3574, allocations: 417.9 kB / 0.5751 GB, free: 6.125 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3574, allocations: 4 kB / 0.5751 GB, free: 6.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.3574, allocations: 4.375 kB / 0.5751 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000153/0.3576, allocations: 36.78 kB / 0.5752 GB, free: 6.078 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.3581, allocations: 115.9 kB / 0.5753 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001391/0.3595, allocations: 1.315 MB / 0.5766 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.3598, allocations: 24.05 kB / 0.5766 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.3598, allocations: 20 kB / 0.5766 GB, free: 4.492 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002643/0.3601, allocations: 161.7 kB / 0.5768 GB, free: 4.324 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/0.3602, allocations: 43.62 kB / 0.5768 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.258e-05/0.3603, allocations: 38.11 kB / 0.5768 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.3603, allocations: 7.984 kB / 0.5768 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3603, allocations: 0 / 0.5768 GB, free: 4.238 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.3604, allocations: 39.78 kB / 0.5769 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.3604, allocations: 8 kB / 0.5769 GB, free: 4.191 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.3607, allocations: 23.98 kB / 0.5769 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.3608, allocations: 23.95 kB / 0.5769 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001203/0.362, allocations: 0.5145 MB / 0.5774 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001076/0.3631, allocations: 0.6456 MB / 0.5781 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002899/0.3634, allocations: 106.3 kB / 0.5782 GB, free: 2.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.3636, allocations: 181.2 kB / 0.5783 GB, free: 2.68 MB / 414.1 MB Notification: Performance of Backend: time 6.52e-07/0.3636, allocations: 4 kB / 0.5784 GB, free: 2.676 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.3646, allocations: 382.3 kB / 0.5787 GB, free: 2.281 MB / 414.1 MB Notification: Performance of SimCode: time 0.001757/0.3664, allocations: 1.317 MB / 0.58 GB, free: 0.918 MB / 414.1 MB Notification: Performance of Templates: time 0.009575/0.3759, allocations: 4.412 MB / 0.5843 GB, free: 12.55 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.207092181997723]