Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001594/0.001594, allocations: 109 kB / 21.23 MB, free: 0.6719 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.002033/0.002033, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.567/1.567, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.2364/0.2364, allocations: 46.93 MB / 361.6 MB, free: 4.211 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-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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [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.002419/0.002419, allocations: 75.88 kB / 0.4974 GB, free: 7.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3876, allocations: 66.08 MB / 0.562 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.00768/0.3953, allocations: 5.38 MB / 0.5672 GB, free: 14.86 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003526/0.3988, allocations: 1.67 MB / 0.5689 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003585/0.3991, allocations: 20 kB / 0.5689 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003757/0.4029, allocations: 1.606 MB / 0.5704 GB, free: 11.55 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007461/0.4036, allocations: 317.6 kB / 0.5708 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.4048, allocations: 0.5214 MB / 0.5713 GB, free: 10.72 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008858/0.4057, allocations: 0.8007 MB / 0.572 GB, free: 9.914 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009949/0.4067, allocations: 0.6387 MB / 0.5727 GB, free: 9.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005046/0.4072, allocations: 358.7 kB / 0.573 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006272/0.4079, allocations: 466.2 kB / 0.5735 GB, free: 8.449 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.408, allocations: 72 kB / 0.5735 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004303/0.4084, allocations: 199.8 kB / 0.5737 GB, free: 8.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.4085, allocations: 179.3 kB / 0.5739 GB, free: 8.008 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004002/0.4089, allocations: 425.9 kB / 0.5743 GB, free: 7.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.4104, allocations: 1.178 MB / 0.5754 GB, free: 6.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4104, allocations: 0 / 0.5754 GB, free: 6.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4104, allocations: 0 / 0.5754 GB, free: 6.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.4104, allocations: 0 / 0.5754 GB, free: 6.41 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: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003472/0.4139, allocations: 1.297 MB / 0.5767 GB, free: 5.082 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.4139, allocations: 12.03 kB / 0.5767 GB, free: 5.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.4155, allocations: 232.2 kB / 0.5769 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.4158, allocations: 209.4 kB / 0.5771 GB, free: 4.617 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.4159, allocations: 74.38 kB / 0.5772 GB, free: 4.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.4161, allocations: 104.1 kB / 0.5773 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.4178, allocations: 0.9282 MB / 0.5782 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.4178, allocations: 7.891 kB / 0.5782 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-05/0.4179, allocations: 44 kB / 0.5783 GB, free: 3.445 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/0.418, allocations: 24 kB / 0.5783 GB, free: 3.422 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.4194, allocations: 0.7247 MB / 0.579 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/0.4249, allocations: 3.684 MB / 0.5826 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001676/0.4266, allocations: 0.7744 MB / 0.5833 GB, free: 13.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004191/0.427, allocations: 263.5 kB / 0.5836 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.199e-05/0.4271, allocations: 28.3 kB / 0.5836 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.527e-05/0.4272, allocations: 46.83 kB / 0.5837 GB, free: 13.58 MB / 430.1 MB Notification: Performance of pre-optimization done (n=66): time 2.495e-06/0.4272, allocations: 0 / 0.5837 GB, free: 13.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=66): time 0.002644/0.4298, allocations: 1.021 MB / 0.5847 GB, free: 12.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001407/0.4299, allocations: 136.5 kB / 0.5848 GB, free: 12.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.4304, allocations: 320 kB / 0.5851 GB, free: 12.06 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.11e-05/0.4304, allocations: 37.7 kB / 0.5851 GB, free: 12.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.4308, allocations: 411.8 kB / 0.5855 GB, free: 11.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.431, allocations: 242 kB / 0.5858 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.4312, allocations: 146.6 kB / 0.5859 GB, free: 11.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.4314, allocations: 358.7 kB / 0.5862 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.4318, allocations: 193.9 kB / 0.5864 GB, free: 10.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.4324, allocations: 400.6 kB / 0.5868 GB, free: 10.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.4334, allocations: 0.6337 MB / 0.5874 GB, free: 9.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.4334, allocations: 0 / 0.5874 GB, free: 9.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001689/0.4351, allocations: 0.8738 MB / 0.5883 GB, free: 8.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.4351, allocations: 8 kB / 0.5883 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.4351, allocations: 4 kB / 0.5883 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006728/0.4358, allocations: 223.4 kB / 0.5885 GB, free: 8.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/0.4363, allocations: 135.8 kB / 0.5886 GB, free: 8.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006574/0.4428, allocations: 6.308 MB / 0.5948 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.4434, allocations: 83.41 kB / 0.5949 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/0.4434, allocations: 36 kB / 0.5949 GB, free: 1.328 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003568/0.4438, allocations: 230.4 kB / 0.5951 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.4439, allocations: 43.72 kB / 0.5952 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.4453, allocations: 0.6841 MB / 0.5958 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.4453, allocations: 8 kB / 0.5959 GB, free: 348 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.4453, allocations: 8 kB / 0.5959 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.4453, allocations: 3.984 kB / 0.5959 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002823/0.4481, allocations: 1.53 MB / 0.5974 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4482, allocations: 0 / 0.5974 GB, free: 14.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002699/0.4484, allocations: 75.91 kB / 0.5974 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000549/0.449, allocations: 211.2 kB / 0.5976 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.449, allocations: 20 kB / 0.5976 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00635/0.4554, allocations: 6.293 MB / 0.6038 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4554, allocations: 4.156 kB / 0.6038 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/0.4571, allocations: 1.195 MB / 0.605 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.4572, allocations: 47.62 kB / 0.605 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.4573, allocations: 12 kB / 0.605 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003444/0.4577, allocations: 15.98 kB / 0.605 GB, free: 6.371 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.4578, allocations: 63.77 kB / 0.6051 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.4578, allocations: 20.36 kB / 0.6051 GB, free: 6.289 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000288/0.4581, allocations: 215.1 kB / 0.6053 GB, free: 6.078 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4581, allocations: 0 / 0.6053 GB, free: 6.078 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001064/0.4592, allocations: 287.3 kB / 0.6056 GB, free: 5.797 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002769/0.4594, allocations: 139 kB / 0.6057 GB, free: 5.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.4613, allocations: 1.057 MB / 0.6068 GB, free: 4.539 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4613, allocations: 0 / 0.6068 GB, free: 4.539 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.4623, allocations: 0.7527 MB / 0.6075 GB, free: 3.734 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.4629, allocations: 44.64 kB / 0.6075 GB, free: 3.691 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.4653, allocations: 1.231 MB / 0.6087 GB, free: 2.418 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006667/0.466, allocations: 0.9149 MB / 0.6096 GB, free: 1.473 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002459/0.4662, allocations: 68.53 kB / 0.6097 GB, free: 1.406 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.684e-05/0.4663, allocations: 43.42 kB / 0.6097 GB, free: 1.367 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4663, allocations: 0 / 0.6097 GB, free: 1.367 MB / 446.1 MB Notification: Performance of Templates: time 0.01542/0.4817, allocations: 7.465 MB / 0.617 GB, free: 9.934 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.777700433507562]