Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|signalSource.V_m|signalSource.Phi|cuboid.G_m|cuboid.A|hollowCylinderAxialFlux.G_m|hollowCylinderAxialFlux.A|hollowCylinderRadialFlux.G_m|hollowCylinderRadialFlux.A|genericFluxTube.G_m|genericFluxTube.A",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009787/0.0009787, allocations: 175.9 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009969/0.0009971, allocations: 91.19 kB / 292.2 MB, free: 10.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.332/0.332, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003118, allocations: 12 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3129, allocations: 61.9 MB / 0.5096 GB, free: 38.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.4242, allocations: 90.21 MB / 0.5977 GB, free: 4.914 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.4244, allocations: 83.92 kB / 0.5977 GB, free: 4.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01762/0.4421, allocations: 6.791 MB / 0.6044 GB, free: 14.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4421, allocations: 0 / 0.6044 GB, free: 14.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.4421, allocations: 8 kB / 0.6044 GB, free: 14.01 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.000818/0.4429, allocations: 0.5504 MB / 0.6049 GB, free: 13.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.443, allocations: 15.95 kB / 0.6049 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.443, allocations: 31.62 kB / 0.605 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.4434, allocations: 274.6 kB / 0.6052 GB, free: 13.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.4435, allocations: 20.56 kB / 0.6052 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.757e-05/0.4435, allocations: 28 kB / 0.6053 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004455/0.4439, allocations: 252.8 kB / 0.6055 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.444, allocations: 0 / 0.6055 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.444, allocations: 12 kB / 0.6055 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.444, allocations: 4 kB / 0.6055 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.4445, allocations: 242.1 kB / 0.6058 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.4458, allocations: 0.8777 MB / 0.6066 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007586/0.4465, allocations: 349.8 kB / 0.6069 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.101e-05/0.4466, allocations: 7.984 kB / 0.607 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.4466, allocations: 34.5 kB / 0.607 GB, free: 11.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 2.064e-06/0.4467, allocations: 0 / 0.607 GB, free: 11.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.004441/0.4511, allocations: 1.243 MB / 0.6082 GB, free: 9.828 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.4512, allocations: 55.41 kB / 0.6083 GB, free: 9.762 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.4514, allocations: 196.1 kB / 0.6084 GB, free: 9.566 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.4514, allocations: 29.7 kB / 0.6085 GB, free: 9.531 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.749e-05/0.4515, allocations: 161.1 kB / 0.6086 GB, free: 9.371 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.339e-05/0.4516, allocations: 106.5 kB / 0.6087 GB, free: 9.266 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.383e-05/0.4516, allocations: 4 kB / 0.6087 GB, free: 9.262 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4517, allocations: 338.8 kB / 0.609 GB, free: 8.922 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.4519, allocations: 99.95 kB / 0.6091 GB, free: 8.824 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.4522, allocations: 125.9 kB / 0.6093 GB, free: 8.691 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.4524, allocations: 109.3 kB / 0.6094 GB, free: 8.586 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4524, allocations: 0 / 0.6094 GB, free: 8.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001808/0.4542, allocations: 0.5531 MB / 0.6099 GB, free: 8.016 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4543, allocations: 4 kB / 0.6099 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4543, allocations: 4 kB / 0.6099 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/0.456, allocations: 315.1 kB / 0.6102 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.4562, allocations: 27.97 kB / 0.6102 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008018/0.4642, allocations: 6.42 MB / 0.6165 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.4646, allocations: 27.77 kB / 0.6165 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.4646, allocations: 11.98 kB / 0.6165 GB, free: 0.6719 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002385/0.4649, allocations: 141.9 kB / 0.6167 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.069e-05/0.465, allocations: 27.62 kB / 0.6167 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.4676, allocations: 0.5619 MB / 0.6173 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.4676, allocations: 4 kB / 0.6173 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4676, allocations: 3.984 kB / 0.6173 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.4676, allocations: 0 / 0.6173 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005981/0.4682, allocations: 349.3 kB / 0.6176 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.4683, allocations: 0 / 0.6176 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/0.4684, allocations: 23.98 kB / 0.6176 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0022/0.4707, allocations: 315.1 kB / 0.6179 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.4707, allocations: 7.953 kB / 0.6179 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009434/0.4801, allocations: 6.347 MB / 0.6241 GB, free: 8.285 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4802, allocations: 4.062 kB / 0.6241 GB, free: 8.281 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.4828, allocations: 0.6311 MB / 0.6247 GB, free: 7.621 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.4829, allocations: 104.8 kB / 0.6248 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.483, allocations: 4 kB / 0.6249 GB, free: 7.496 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/0.4833, allocations: 15.98 kB / 0.6249 GB, free: 7.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.4835, allocations: 43.88 kB / 0.6249 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.4836, allocations: 7.938 kB / 0.6249 GB, free: 7.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002353/0.4838, allocations: 160.5 kB / 0.6251 GB, free: 7.273 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4838, allocations: 0 / 0.6251 GB, free: 7.273 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000892/0.4847, allocations: 119.8 kB / 0.6252 GB, free: 7.156 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002553/0.485, allocations: 111.5 kB / 0.6253 GB, free: 7.035 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.4867, allocations: 0.7523 MB / 0.626 GB, free: 6.23 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4867, allocations: 0 / 0.626 GB, free: 6.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001285/0.488, allocations: 0.6744 MB / 0.6267 GB, free: 5.504 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.4884, allocations: 16.39 kB / 0.6267 GB, free: 5.488 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.4899, allocations: 0.6363 MB / 0.6273 GB, free: 4.816 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.4904, allocations: 0.7756 MB / 0.6281 GB, free: 4.012 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001118/0.4905, allocations: 13.94 kB / 0.6281 GB, free: 4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.43e-05/0.4906, allocations: 15.44 kB / 0.6281 GB, free: 3.984 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4906, allocations: 0 / 0.6281 GB, free: 3.984 MB / 442.7 MB Notification: Performance of Templates: time 0.01873/0.5093, allocations: 7.466 MB / 0.6354 GB, free: 12.55 MB / 458.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches