Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 108.4 kB / 21.17 MB, free: 0.7852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 217.3 kB / 24.47 MB, free: 4.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 230.2 MB / 257.8 MB, free: 8.488 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2393/0.2393, allocations: 46.88 MB / 361.1 MB, free: 4.641 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 75.88 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4297, allocations: 66 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.00514/0.4348, allocations: 3.553 MB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.4366, allocations: 0.8335 MB / 0.5655 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.4369, allocations: 15.94 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.4371, allocations: 67.3 kB / 0.5655 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.4374, allocations: 138.8 kB / 0.5657 GB, free: 400 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.4379, allocations: 123.8 kB / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005791/0.4384, allocations: 0.5218 MB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003201/0.4388, allocations: 184.5 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.439, allocations: 211.3 kB / 0.5667 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003033/0.4393, allocations: 231 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.315e-05/0.4394, allocations: 52 kB / 0.567 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.255e-05/0.4395, allocations: 48 kB / 0.567 GB, free: 15.03 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.4396, allocations: 119.5 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.4398, allocations: 242.9 kB / 0.5673 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006173/0.4404, allocations: 0.5563 MB / 0.5679 GB, free: 14.12 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4404, allocations: 4 kB / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4404, allocations: 3.938 kB / 0.5679 GB, free: 14.11 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.4404, allocations: 0 / 0.5679 GB, free: 14.11 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.001373/0.4418, allocations: 0.7715 MB / 0.5687 GB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.4418, allocations: 12.02 kB / 0.5687 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001008/0.4419, allocations: 52.61 kB / 0.5687 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.4424, allocations: 317.6 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.4425, allocations: 37.38 kB / 0.5691 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.875e-05/0.4426, allocations: 48.38 kB / 0.5691 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009645/0.4435, allocations: 467.2 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.4435, allocations: 0 / 0.5695 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.281e-05/0.4436, allocations: 20 kB / 0.5696 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.4436, allocations: 12 kB / 0.5696 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000749/0.4444, allocations: 327.8 kB / 0.5699 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.447, allocations: 1.671 MB / 0.5715 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006129/0.4476, allocations: 225 kB / 0.5717 GB, free: 9.941 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.448, allocations: 129.6 kB / 0.5719 GB, free: 9.809 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.448, allocations: 4 kB / 0.5719 GB, free: 9.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.448, allocations: 34.78 kB / 0.5719 GB, free: 9.762 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.513e-06/0.448, allocations: 0 / 0.5719 GB, free: 9.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003312/0.4513, allocations: 1.36 MB / 0.5732 GB, free: 8.285 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/0.4514, allocations: 85.02 kB / 0.5733 GB, free: 8.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.4518, allocations: 270.5 kB / 0.5736 GB, free: 7.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.4518, allocations: 29.7 kB / 0.5736 GB, free: 7.875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.452, allocations: 264.1 kB / 0.5738 GB, free: 7.613 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.4521, allocations: 130.9 kB / 0.574 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.4522, allocations: 74.09 kB / 0.574 GB, free: 7.402 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4524, allocations: 342.8 kB / 0.5744 GB, free: 7.059 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.4527, allocations: 108.8 kB / 0.5745 GB, free: 6.953 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003747/0.4531, allocations: 216.3 kB / 0.5747 GB, free: 6.699 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.4538, allocations: 335.8 kB / 0.575 GB, free: 6.328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4538, allocations: 3.938 kB / 0.575 GB, free: 6.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008956/0.4547, allocations: 420.4 kB / 0.5754 GB, free: 5.906 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4547, allocations: 8 kB / 0.5754 GB, free: 5.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.4547, allocations: 4 kB / 0.5754 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.4549, allocations: 28.84 kB / 0.5754 GB, free: 5.863 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004958/0.4554, allocations: 131.7 kB / 0.5756 GB, free: 5.734 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.4568, allocations: 1.439 MB / 0.577 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.457, allocations: 19.98 kB / 0.577 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.4571, allocations: 20.06 kB / 0.577 GB, free: 4.109 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.0002606/0.4573, allocations: 165.7 kB / 0.5772 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/0.4574, allocations: 35.8 kB / 0.5772 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.796e-05/0.4575, allocations: 30.19 kB / 0.5772 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.4575, allocations: 7.984 kB / 0.5772 GB, free: 3.867 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.4575, allocations: 4 kB / 0.5772 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.4575, allocations: 0 / 0.5772 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.4589, allocations: 0.7115 MB / 0.5779 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.4589, allocations: 4 kB / 0.5779 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.4594, allocations: 91.88 kB / 0.578 GB, free: 2.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.984e-05/0.4595, allocations: 28.91 kB / 0.5781 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.4595, allocations: 11.94 kB / 0.5781 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.4608, allocations: 1.422 MB / 0.5795 GB, free: 1.387 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4608, allocations: 4.031 kB / 0.5795 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.462, allocations: 0.6164 MB / 0.5801 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.4622, allocations: 120.9 kB / 0.5802 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.4622, allocations: 8 kB / 0.5802 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002817/0.4625, allocations: 15.98 kB / 0.5802 GB, free: 0.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.4626, allocations: 35.84 kB / 0.5802 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.4626, allocations: 15.98 kB / 0.5802 GB, free: 0.5312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002322/0.4629, allocations: 182 kB / 0.5804 GB, free: 360 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4629, allocations: 4 kB / 0.5804 GB, free: 356 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005666/0.4634, allocations: 92 kB / 0.5805 GB, free: 264 kB / 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.0001707/0.4636, allocations: 106.5 kB / 0.5806 GB, free: 152 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.4646, allocations: 398.3 kB / 0.581 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4646, allocations: 0 / 0.581 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004515/0.465, allocations: 252.7 kB / 0.5812 GB, free: 15.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/0.4656, allocations: 48.47 kB / 0.5813 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.4677, allocations: 0.9188 MB / 0.5822 GB, free: 14.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006615/0.4683, allocations: 0.8113 MB / 0.583 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001619/0.4685, allocations: 38.94 kB / 0.583 GB, free: 13.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.365e-05/0.4686, allocations: 31.44 kB / 0.583 GB, free: 13.57 MB / 430.1 MB Notification: Performance of SimCode: time 8.32e-07/0.4686, allocations: 0 / 0.583 GB, free: 13.57 MB / 430.1 MB Notification: Performance of Templates: time 0.008972/0.4775, allocations: 3.298 MB / 0.5863 GB, free: 10.3 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.4989885268732905]