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.00138/0.00138, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001464/0.001464, allocations: 210 kB / 24.47 MB, free: 3.941 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.263/0.263, allocations: 46.97 MB / 361.6 MB, free: 4.02 MB / 286.1 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.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.002457/0.002457, allocations: 59.89 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4183, allocations: 66.03 MB / 0.5618 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.006062/0.4244, allocations: 3.241 MB / 0.565 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.4265, allocations: 0.7906 MB / 0.5657 GB, free: 116 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002309/0.4267, allocations: 11.94 kB / 0.5658 GB, free: 104 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.4269, allocations: 75.28 kB / 0.5658 GB, free: 28 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.4273, allocations: 130.8 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.4277, allocations: 131.8 kB / 0.5661 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006092/0.4283, allocations: 0.5257 MB / 0.5666 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.4286, allocations: 170 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.4289, allocations: 211.3 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002892/0.4292, allocations: 199 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.73e-05/0.4293, allocations: 48 kB / 0.5672 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.511e-05/0.4294, allocations: 48 kB / 0.5672 GB, free: 14.58 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.4295, allocations: 123.5 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.4297, allocations: 203.1 kB / 0.5675 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006774/0.4304, allocations: 0.5629 MB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4304, allocations: 4 kB / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4304, allocations: 0 / 0.5681 GB, free: 13.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.4304, allocations: 0 / 0.5681 GB, free: 13.69 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.001496/0.4319, allocations: 0.6922 MB / 0.5688 GB, free: 12.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4319, allocations: 8.031 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.4321, allocations: 56.61 kB / 0.5688 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005811/0.4326, allocations: 263.7 kB / 0.5691 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.199e-05/0.4327, allocations: 37.38 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.996e-05/0.4328, allocations: 48.36 kB / 0.5692 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009366/0.4337, allocations: 0.5144 MB / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.4337, allocations: 0 / 0.5697 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.4338, allocations: 20 kB / 0.5697 GB, free: 11.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/0.4338, allocations: 15.94 kB / 0.5697 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007836/0.4346, allocations: 320.1 kB / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.4373, allocations: 1.444 MB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/0.4379, allocations: 229 kB / 0.5716 GB, free: 9.867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.4382, allocations: 121.7 kB / 0.5718 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.4383, allocations: 4 kB / 0.5718 GB, free: 9.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.4383, allocations: 38.56 kB / 0.5718 GB, free: 9.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.104e-06/0.4383, allocations: 0 / 0.5718 GB, free: 9.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003402/0.4417, allocations: 1.142 MB / 0.5729 GB, free: 8.488 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.4418, allocations: 81.11 kB / 0.573 GB, free: 8.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.4421, allocations: 261.8 kB / 0.5732 GB, free: 8.129 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.4421, allocations: 33.7 kB / 0.5733 GB, free: 8.09 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.4424, allocations: 268.1 kB / 0.5735 GB, free: 7.824 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.4425, allocations: 126.9 kB / 0.5736 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.4426, allocations: 70.14 kB / 0.5737 GB, free: 7.621 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.4428, allocations: 338.8 kB / 0.574 GB, free: 7.281 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.4431, allocations: 108.8 kB / 0.5741 GB, free: 7.176 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.4435, allocations: 212.4 kB / 0.5743 GB, free: 6.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006733/0.4441, allocations: 344.9 kB / 0.5747 GB, free: 6.555 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4441, allocations: 0 / 0.5747 GB, free: 6.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009493/0.4451, allocations: 414 kB / 0.5751 GB, free: 6.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.4451, allocations: 8 kB / 0.5751 GB, free: 6.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.4451, allocations: 4 kB / 0.5751 GB, free: 6.129 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.4453, allocations: 32.83 kB / 0.5751 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.4458, allocations: 128.1 kB / 0.5752 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.4472, allocations: 1.315 MB / 0.5765 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002488/0.4475, allocations: 12 kB / 0.5765 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.4475, allocations: 16 kB / 0.5765 GB, free: 4.512 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.000233/0.4477, allocations: 165.8 kB / 0.5767 GB, free: 4.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.549e-05/0.4478, allocations: 39.75 kB / 0.5767 GB, free: 4.301 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.228e-05/0.4479, allocations: 38.11 kB / 0.5768 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4479, allocations: 4 kB / 0.5768 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4479, allocations: 3.938 kB / 0.5768 GB, free: 4.258 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.4479, allocations: 4 kB / 0.5768 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.4491, allocations: 0.5815 MB / 0.5774 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4491, allocations: 3.938 kB / 0.5774 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.4495, allocations: 91.94 kB / 0.5774 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-05/0.4496, allocations: 32.98 kB / 0.5775 GB, free: 3.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.4496, allocations: 8 kB / 0.5775 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.4507, allocations: 1.304 MB / 0.5788 GB, free: 2.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4507, allocations: 4.031 kB / 0.5788 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.4518, allocations: 0.6047 MB / 0.5794 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.4519, allocations: 47.83 kB / 0.5794 GB, free: 1.406 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.452, allocations: 7.984 kB / 0.5794 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002752/0.4522, allocations: 19.98 kB / 0.5794 GB, free: 1.379 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.673e-05/0.4523, allocations: 31.89 kB / 0.5795 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.4523, allocations: 8 kB / 0.5795 GB, free: 1.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002023/0.4525, allocations: 181.2 kB / 0.5796 GB, free: 1.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4525, allocations: 0 / 0.5796 GB, free: 1.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004864/0.453, allocations: 95.94 kB / 0.5797 GB, free: 1.066 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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 Backend phase and start with SimCode phase: time 0.0001319/0.4532, allocations: 103.2 kB / 0.5798 GB, free: 0.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008941/0.4541, allocations: 398.1 kB / 0.5802 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4541, allocations: 0 / 0.5802 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004214/0.4545, allocations: 248.9 kB / 0.5804 GB, free: 312 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/0.455, allocations: 49.33 kB / 0.5805 GB, free: 264 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.4569, allocations: 0.9459 MB / 0.5814 GB, free: 15.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.4571, allocations: 203.8 kB / 0.5816 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.4572, allocations: 35.42 kB / 0.5816 GB, free: 15.01 MB / 430.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4572, allocations: 0 / 0.5816 GB, free: 15.01 MB / 430.1 MB Notification: Performance of Templates: time 0.009635/0.4668, allocations: 6.119 MB / 0.5876 GB, free: 8.895 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: 8.313697047065943]