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.001704/0.001704, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.395/1.395, allocations: 222.9 MB / 241.6 MB, free: 11 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.001049/0.001048, allocations: 96.98 kB / 291.9 MB, free: 10.96 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.3782/0.3782, allocations: 44.12 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 55.91 kB / 457.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3993, allocations: 60.8 MB / 0.5064 GB, free: 38.19 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape): time 0.003352/0.4026, allocations: 2.488 MB / 0.5088 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.4038, allocations: 0.7607 MB / 0.5096 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.404, allocations: 5.281 kB / 0.5096 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.4042, allocations: 47.7 kB / 0.5096 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002076/0.4044, allocations: 83.03 kB / 0.5097 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.4047, allocations: 90.31 kB / 0.5098 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002486/0.4049, allocations: 322.9 kB / 0.5101 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.4051, allocations: 89.23 kB / 0.5102 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.4053, allocations: 123 kB / 0.5103 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.4054, allocations: 148 kB / 0.5104 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.379e-05/0.4055, allocations: 23.14 kB / 0.5105 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.182e-05/0.4055, allocations: 19.12 kB / 0.5105 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.4056, allocations: 54.34 kB / 0.5105 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.4057, allocations: 135.9 kB / 0.5107 GB, free: 35.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002624/0.406, allocations: 346 kB / 0.511 GB, free: 35.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.406, allocations: 0 / 0.511 GB, free: 35.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.406, allocations: 2.75 kB / 0.511 GB, free: 35.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.406, allocations: 4 kB / 0.511 GB, free: 35.22 MB / 378.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.0009665/0.407, allocations: 0.6131 MB / 0.5116 GB, free: 34.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.4071, allocations: 11.28 kB / 0.5116 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.594e-05/0.4071, allocations: 31.03 kB / 0.5116 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.4074, allocations: 261.3 kB / 0.5119 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.4074, allocations: 17.53 kB / 0.5119 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.4074, allocations: 25.56 kB / 0.5119 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004347/0.4079, allocations: 250.4 kB / 0.5122 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.4079, allocations: 4 kB / 0.5122 GB, free: 34.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.4079, allocations: 10.91 kB / 0.5122 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.4079, allocations: 9.688 kB / 0.5122 GB, free: 34.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.4084, allocations: 233.3 kB / 0.5124 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.4096, allocations: 0.8752 MB / 0.5133 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.41, allocations: 303.9 kB / 0.5136 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.4103, allocations: 142.5 kB / 0.5137 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.4103, allocations: 6.766 kB / 0.5137 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.4104, allocations: 33.47 kB / 0.5137 GB, free: 33.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.723e-06/0.4104, allocations: 0 / 0.5137 GB, free: 33.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004144/0.4145, allocations: 1.263 MB / 0.515 GB, free: 32.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.4146, allocations: 57.97 kB / 0.515 GB, free: 32.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.4148, allocations: 214.8 kB / 0.5152 GB, free: 32.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.4148, allocations: 31.95 kB / 0.5152 GB, free: 32.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.4149, allocations: 158.1 kB / 0.5154 GB, free: 32.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/0.415, allocations: 108.5 kB / 0.5155 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-05/0.4151, allocations: 47.22 kB / 0.5155 GB, free: 32.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.4152, allocations: 339.1 kB / 0.5159 GB, free: 31.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.4154, allocations: 89.67 kB / 0.516 GB, free: 31.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.4157, allocations: 125.8 kB / 0.5161 GB, free: 31.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.4161, allocations: 232.3 kB / 0.5163 GB, free: 31.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4161, allocations: 0 / 0.5163 GB, free: 31.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00162/0.4177, allocations: 0.5454 MB / 0.5168 GB, free: 31.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4178, allocations: 5.594 kB / 0.5168 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4178, allocations: 3.281 kB / 0.5168 GB, free: 31.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00167/0.4195, allocations: 309.9 kB / 0.5171 GB, free: 31.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.4197, allocations: 28.28 kB / 0.5172 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005998/0.4257, allocations: 6.333 MB / 0.5233 GB, free: 25.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.4259, allocations: 29.78 kB / 0.5234 GB, free: 25.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.426, allocations: 9.625 kB / 0.5234 GB, free: 25.59 MB / 378.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.4261, allocations: 137.9 kB / 0.5235 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.288e-05/0.4262, allocations: 35.09 kB / 0.5235 GB, free: 25.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.4278, allocations: 0.543 MB / 0.5241 GB, free: 25.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.4278, allocations: 10.86 kB / 0.5241 GB, free: 25.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.4278, allocations: 6.875 kB / 0.5241 GB, free: 25.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.4278, allocations: 7.406 kB / 0.5241 GB, free: 25.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.4282, allocations: 346.8 kB / 0.5244 GB, free: 24.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4282, allocations: 2.625 kB / 0.5244 GB, free: 24.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.4283, allocations: 20.42 kB / 0.5245 GB, free: 24.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001425/0.4297, allocations: 312.2 kB / 0.5248 GB, free: 24.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.4298, allocations: 6.906 kB / 0.5248 GB, free: 24.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005349/0.4351, allocations: 6.376 MB / 0.531 GB, free: 19.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4351, allocations: 0 / 0.531 GB, free: 19.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.4371, allocations: 1.323 MB / 0.5323 GB, free: 18.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.4372, allocations: 102.5 kB / 0.5324 GB, free: 17.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.4372, allocations: 6.469 kB / 0.5324 GB, free: 17.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.4374, allocations: 12.72 kB / 0.5324 GB, free: 17.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.4375, allocations: 35.03 kB / 0.5324 GB, free: 17.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.4375, allocations: 5.312 kB / 0.5324 GB, free: 17.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.4376, allocations: 163.7 kB / 0.5326 GB, free: 17.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4376, allocations: 0 / 0.5326 GB, free: 17.82 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000601/0.4383, allocations: 122.8 kB / 0.5327 GB, free: 17.8 MB / 378.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001243/0.4384, allocations: 97.28 kB / 0.5328 GB, free: 17.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000921/0.4393, allocations: 0.7376 MB / 0.5335 GB, free: 17.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4393, allocations: 0 / 0.5335 GB, free: 17.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.4404, allocations: 0.7236 MB / 0.5342 GB, free: 16.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.4407, allocations: 27.16 kB / 0.5343 GB, free: 16.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.4418, allocations: 0.858 MB / 0.5351 GB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.442, allocations: 0.7797 MB / 0.5359 GB, free: 15.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.551e-05/0.4421, allocations: 11.72 kB / 0.5359 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.799e-05/0.4422, allocations: 12.69 kB / 0.5359 GB, free: 15.24 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.4422, allocations: 0 / 0.5359 GB, free: 15.24 MB / 378.7 MB Notification: Performance of Templates: time 0.01274/0.4549, allocations: 7.804 MB / 0.5435 GB, free: 14.68 MB / 378.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@2/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