Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.00181/0.00181, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.00225/0.00225, allocations: 168.6 kB / 24.5 MB, free: 3.453 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.48/1.48, allocations: 177.2 MB / 204.9 MB, free: 9.043 MB / 190.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.2039/0.2039, allocations: 34.27 MB / 295.5 MB, free: 14.6 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.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_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_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.88 kB / 443.1 MB, free: 6.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3688, allocations: 66 MB / 0.4972 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.005053/0.3738, allocations: 4.759 MB / 0.5019 GB, free: 26.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002785/0.3766, allocations: 1.575 MB / 0.5034 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002618/0.3769, allocations: 19.09 kB / 0.5034 GB, free: 25.69 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.3798, allocations: 1.555 MB / 0.5049 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006944/0.3805, allocations: 317.8 kB / 0.5052 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009254/0.3814, allocations: 0.4968 MB / 0.5057 GB, free: 24.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006008/0.382, allocations: 0.8069 MB / 0.5065 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007642/0.3828, allocations: 0.6256 MB / 0.5071 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003897/0.3832, allocations: 357.5 kB / 0.5075 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004316/0.3836, allocations: 409.5 kB / 0.5079 GB, free: 23.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.365e-05/0.3837, allocations: 74.97 kB / 0.5079 GB, free: 23.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.3841, allocations: 189.3 kB / 0.5081 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.992e-05/0.3842, allocations: 171 kB / 0.5083 GB, free: 23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002344/0.3844, allocations: 343.7 kB / 0.5086 GB, free: 22.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000926/0.3853, allocations: 1.18 MB / 0.5098 GB, free: 22.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.3853, allocations: 3.141 kB / 0.5098 GB, free: 22.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3853, allocations: 0 / 0.5098 GB, free: 22.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.3853, allocations: 0 / 0.5098 GB, free: 22.34 MB / 446.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.002923/0.3883, allocations: 1.302 MB / 0.511 GB, free: 21.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.3883, allocations: 9.438 kB / 0.511 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/0.3898, allocations: 237.2 kB / 0.5113 GB, free: 21.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.39, allocations: 202.6 kB / 0.5115 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.3901, allocations: 74.75 kB / 0.5115 GB, free: 21.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.3902, allocations: 107.3 kB / 0.5116 GB, free: 21.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.3917, allocations: 0.9341 MB / 0.5125 GB, free: 20.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.925e-05/0.3918, allocations: 7.5 kB / 0.5126 GB, free: 20.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.126e-05/0.3918, allocations: 40.97 kB / 0.5126 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.3919, allocations: 23.72 kB / 0.5126 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.3931, allocations: 0.7184 MB / 0.5133 GB, free: 20.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004009/0.3971, allocations: 2.717 MB / 0.516 GB, free: 18.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.3986, allocations: 0.7713 MB / 0.5167 GB, free: 18.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.399, allocations: 267.8 kB / 0.517 GB, free: 18.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.175e-05/0.3991, allocations: 27.41 kB / 0.517 GB, free: 18.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.3991, allocations: 41.11 kB / 0.517 GB, free: 18.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=66): time 2.915e-06/0.3991, allocations: 4 kB / 0.517 GB, free: 18.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=66): time 0.002499/0.4016, allocations: 1.01 MB / 0.518 GB, free: 17.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.4016, allocations: 144 kB / 0.5182 GB, free: 17.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.402, allocations: 303.7 kB / 0.5185 GB, free: 17.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.402, allocations: 35.7 kB / 0.5185 GB, free: 17.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.4022, allocations: 415.2 kB / 0.5189 GB, free: 17.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/0.4023, allocations: 243.4 kB / 0.5191 GB, free: 16.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.4025, allocations: 145.3 kB / 0.5193 GB, free: 16.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.4026, allocations: 347.8 kB / 0.5196 GB, free: 16.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.403, allocations: 201.2 kB / 0.5198 GB, free: 16.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004374/0.4034, allocations: 406.8 kB / 0.5202 GB, free: 16.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000733/0.4041, allocations: 0.6228 MB / 0.5208 GB, free: 15.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.4041, allocations: 1.375 kB / 0.5208 GB, free: 15.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001433/0.4056, allocations: 0.8818 MB / 0.5216 GB, free: 15.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4056, allocations: 9.906 kB / 0.5217 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.4056, allocations: 6.781 kB / 0.5217 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006498/0.4062, allocations: 224.7 kB / 0.5219 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004888/0.4067, allocations: 140.8 kB / 0.522 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004145/0.4109, allocations: 6.162 MB / 0.528 GB, free: 9.559 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.4114, allocations: 82.55 kB / 0.5281 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-05/0.4115, allocations: 36.28 kB / 0.5281 GB, free: 9.492 MB / 446.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.0003155/0.4118, allocations: 217.9 kB / 0.5283 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.4119, allocations: 51.09 kB / 0.5284 GB, free: 9.277 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.4131, allocations: 0.6801 MB / 0.5291 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.4131, allocations: 11.83 kB / 0.5291 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4131, allocations: 4.719 kB / 0.5291 GB, free: 8.938 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.149e-05/0.4131, allocations: 9.109 kB / 0.5291 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.4154, allocations: 1.351 MB / 0.5304 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.4154, allocations: 1.953 kB / 0.5304 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.4156, allocations: 70.25 kB / 0.5305 GB, free: 8.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005056/0.4161, allocations: 211.8 kB / 0.5307 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.4162, allocations: 18.61 kB / 0.5307 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004046/0.4202, allocations: 6.153 MB / 0.5367 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4202, allocations: 1.844 kB / 0.5367 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.4217, allocations: 1.189 MB / 0.5379 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.4218, allocations: 50.77 kB / 0.5379 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.4218, allocations: 12.62 kB / 0.5379 GB, free: 1.656 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003372/0.4222, allocations: 13.64 kB / 0.5379 GB, free: 1.648 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.4223, allocations: 68.58 kB / 0.538 GB, free: 1.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.4223, allocations: 18.17 kB / 0.538 GB, free: 1.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002191/0.4226, allocations: 195.1 kB / 0.5382 GB, free: 1.512 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4226, allocations: 0 / 0.5382 GB, free: 1.512 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001149/0.4237, allocations: 280.1 kB / 0.5385 GB, free: 1.438 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.0002194/0.4239, allocations: 137.8 kB / 0.5386 GB, free: 1.328 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.4255, allocations: 1.046 MB / 0.5396 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4255, allocations: 8.344 kB / 0.5396 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007692/0.4263, allocations: 0.7531 MB / 0.5404 GB, free: 48 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006827/0.427, allocations: 55.75 kB / 0.5404 GB, free: 8 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.4295, allocations: 1.235 MB / 0.5416 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.43, allocations: 314.7 kB / 0.5419 GB, free: 15.17 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002725/0.4303, allocations: 64.36 kB / 0.542 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.4304, allocations: 39.52 kB / 0.542 GB, free: 15.13 MB / 462.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4304, allocations: 4 kB / 0.542 GB, free: 15.12 MB / 462.1 MB Notification: Performance of Templates: time 0.01619/0.4466, allocations: 6.745 MB / 0.5486 GB, free: 13.58 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.3915252150036395]