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.001285/0.001285, allocations: 173.2 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.5 MB / 230.7 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008499/0.0008502, allocations: 99.05 kB / 281.6 MB, free: 5.258 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.2023/0.2023, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.684e-05/1.687e-05, allocations: 4 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 61.92 MB / 0.4947 GB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5633, allocations: 89.46 MB / 0.582 GB, free: 7.039 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.5636, allocations: 75.95 kB / 0.5821 GB, free: 6.965 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01775/0.5813, allocations: 6.728 MB / 0.5887 GB, free: 228 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5813, allocations: 4 kB / 0.5887 GB, free: 224 kB / 394.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.5814, allocations: 4 kB / 0.5887 GB, free: 220 kB / 394.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.0007886/0.5822, allocations: 0.5226 MB / 0.5892 GB, free: 15.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5822, allocations: 11.98 kB / 0.5892 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.5823, allocations: 31.62 kB / 0.5892 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.5827, allocations: 279 kB / 0.5895 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.5827, allocations: 8 kB / 0.5895 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.5827, allocations: 15.94 kB / 0.5895 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003651/0.5831, allocations: 197 kB / 0.5897 GB, free: 15.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003518/0.5835, allocations: 187.8 kB / 0.5899 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5835, allocations: 0 / 0.5899 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.263e-05/0.5835, allocations: 4 kB / 0.5899 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.5835, allocations: 4 kB / 0.5899 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.5848, allocations: 0.832 MB / 0.5907 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.5854, allocations: 298.9 kB / 0.591 GB, free: 13.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.5856, allocations: 120.9 kB / 0.5911 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.104e-05/0.5857, allocations: 4 kB / 0.5911 GB, free: 13.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.5857, allocations: 38.55 kB / 0.5912 GB, free: 13.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.754e-06/0.5857, allocations: 0 / 0.5912 GB, free: 13.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001719/0.5875, allocations: 476.8 kB / 0.5916 GB, free: 13.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.5875, allocations: 67.33 kB / 0.5917 GB, free: 12.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.5877, allocations: 176 kB / 0.5918 GB, free: 12.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.5878, allocations: 29.7 kB / 0.5919 GB, free: 12.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.5879, allocations: 156.9 kB / 0.592 GB, free: 12.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.427e-05/0.588, allocations: 102.5 kB / 0.5921 GB, free: 12.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.346e-05/0.588, allocations: 0 / 0.5921 GB, free: 12.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5881, allocations: 338.8 kB / 0.5924 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.5883, allocations: 75.86 kB / 0.5925 GB, free: 12.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.5884, allocations: 105.8 kB / 0.5926 GB, free: 11.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.5886, allocations: 81.38 kB / 0.5927 GB, free: 11.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5886, allocations: 0 / 0.5927 GB, free: 11.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001505/0.5901, allocations: 494.4 kB / 0.5932 GB, free: 11.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5901, allocations: 9.406 kB / 0.5932 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5901, allocations: 0 / 0.5932 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/0.5916, allocations: 307.1 kB / 0.5935 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.5918, allocations: 35.91 kB / 0.5935 GB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006122/0.5979, allocations: 6.106 MB / 0.5995 GB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.5982, allocations: 23.89 kB / 0.5995 GB, free: 4.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.5982, allocations: 8 kB / 0.5995 GB, free: 4.422 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderRadialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: hollowCylinderAxialFlux.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cuboid.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: genericFluxTube.B:VARIABLE(unit = "T" ) "Magnetic flux density" type: Real 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 () * 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.0001813/0.5984, allocations: 116.2 kB / 0.5996 GB, free: 4.305 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.5985, allocations: 27.7 kB / 0.5996 GB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.6, allocations: 0.5 MB / 0.6001 GB, free: 3.758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6, allocations: 7.938 kB / 0.6001 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.6, allocations: 0 / 0.6001 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.6001, allocations: 3.984 kB / 0.6001 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.6004, allocations: 301.8 kB / 0.6004 GB, free: 3.414 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6004, allocations: 4 kB / 0.6004 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001196/0.6006, allocations: 23.98 kB / 0.6004 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.602, allocations: 303.2 kB / 0.6007 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.602, allocations: 4 kB / 0.6007 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006212/0.6082, allocations: 6.05 MB / 0.6066 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/0.6083, allocations: 4 kB / 0.6067 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.6098, allocations: 0.5609 MB / 0.6072 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.08e-05/0.6099, allocations: 104.8 kB / 0.6073 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.61, allocations: 0 / 0.6073 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.6101, allocations: 7.984 kB / 0.6073 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.6103, allocations: 39.89 kB / 0.6073 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.6103, allocations: 4 kB / 0.6073 GB, free: 11.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.6104, allocations: 148.5 kB / 0.6075 GB, free: 11.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6104, allocations: 0 / 0.6075 GB, free: 11.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005381/0.611, allocations: 107.8 kB / 0.6076 GB, free: 11.55 MB / 426.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 () * 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.0001769/0.6112, allocations: 103.2 kB / 0.6077 GB, free: 11.44 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009624/0.6121, allocations: 0.6943 MB / 0.6084 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6122, allocations: 0 / 0.6084 GB, free: 10.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007892/0.613, allocations: 0.6159 MB / 0.609 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.6132, allocations: 20.31 kB / 0.609 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000696/0.6139, allocations: 322.5 kB / 0.6093 GB, free: 9.688 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.6143, allocations: 0.7756 MB / 0.6101 GB, free: 8.883 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.064e-05/0.6144, allocations: 22 kB / 0.6101 GB, free: 8.863 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.6144, allocations: 11.44 kB / 0.6101 GB, free: 8.852 MB / 426.7 MB Notification: Performance of SimCode: time 3.2e-07/0.6145, allocations: 7.938 kB / 0.6101 GB, free: 8.844 MB / 426.7 MB Notification: Performance of Templates: time 0.01206/0.6265, allocations: 7.283 MB / 0.6172 GB, free: 1.59 MB / 426.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