Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) 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_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 202.7 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.249/1.249, allocations: 227.2 MB / 245 MB, free: 7.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008486/0.0008485, allocations: 103.8 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3064/0.3064, allocations: 45.22 MB / 394.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003415, allocations: 4 kB / 468.4 MB, free: 7.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3531, allocations: 63.23 MB / 0.5192 GB, free: 43.77 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1146/0.4677, allocations: 91.42 MB / 0.6085 GB, free: 14.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.4681, allocations: 87.94 kB / 0.6085 GB, free: 14.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01915/0.4873, allocations: 7.128 MB / 0.6155 GB, free: 7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.816e-06/0.4873, allocations: 0 / 0.6155 GB, free: 7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.4874, allocations: 8 kB / 0.6155 GB, free: 6.992 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.0009687/0.4884, allocations: 0.5697 MB / 0.6161 GB, free: 6.375 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4884, allocations: 8.031 kB / 0.6161 GB, free: 6.367 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.4886, allocations: 47.52 kB / 0.6161 GB, free: 6.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004404/0.489, allocations: 286 kB / 0.6164 GB, free: 6.004 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.489, allocations: 20.56 kB / 0.6164 GB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.4891, allocations: 20 kB / 0.6164 GB, free: 5.965 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.4896, allocations: 248.9 kB / 0.6167 GB, free: 5.715 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4896, allocations: 0 / 0.6167 GB, free: 5.715 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.4897, allocations: 8 kB / 0.6167 GB, free: 5.707 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.4897, allocations: 4 kB / 0.6167 GB, free: 5.703 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.4902, allocations: 250 kB / 0.6169 GB, free: 5.457 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.4917, allocations: 0.8889 MB / 0.6178 GB, free: 4.512 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008007/0.4925, allocations: 336.6 kB / 0.6181 GB, free: 4.172 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.076e-05/0.4926, allocations: 8 kB / 0.6181 GB, free: 4.164 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.4926, allocations: 34.56 kB / 0.6181 GB, free: 4.121 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 3.086e-06/0.4926, allocations: 3.938 kB / 0.6181 GB, free: 4.117 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.004485/0.4971, allocations: 1.256 MB / 0.6194 GB, free: 2.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.4972, allocations: 59.39 kB / 0.6194 GB, free: 2.699 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.4974, allocations: 196.8 kB / 0.6196 GB, free: 2.496 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.4975, allocations: 37.58 kB / 0.6197 GB, free: 2.453 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4976, allocations: 180.4 kB / 0.6198 GB, free: 2.273 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.943e-05/0.4977, allocations: 98.55 kB / 0.6199 GB, free: 2.176 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.4977, allocations: 4 kB / 0.6199 GB, free: 2.172 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4978, allocations: 338.8 kB / 0.6202 GB, free: 1.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002296/0.4981, allocations: 99.94 kB / 0.6203 GB, free: 1.734 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.4983, allocations: 130.7 kB / 0.6205 GB, free: 1.598 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.4986, allocations: 105.4 kB / 0.6206 GB, free: 1.496 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4986, allocations: 0 / 0.6206 GB, free: 1.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001864/0.5005, allocations: 0.5609 MB / 0.6211 GB, free: 0.918 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.5005, allocations: 7.953 kB / 0.6211 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5005, allocations: 4 kB / 0.6211 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/0.5022, allocations: 319.1 kB / 0.6214 GB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.5024, allocations: 27.97 kB / 0.6215 GB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007411/0.5098, allocations: 6.417 MB / 0.6277 GB, free: 9.605 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002978/0.5102, allocations: 27.69 kB / 0.6278 GB, free: 9.578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.5102, allocations: 15.97 kB / 0.6278 GB, free: 9.562 MB / 442.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.0002207/0.5105, allocations: 149.7 kB / 0.6279 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.5105, allocations: 23.72 kB / 0.6279 GB, free: 9.383 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001922/0.5125, allocations: 0.5623 MB / 0.6285 GB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.5125, allocations: 0 / 0.6285 GB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.5125, allocations: 3.938 kB / 0.6285 GB, free: 8.797 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.5125, allocations: 4 kB / 0.6285 GB, free: 8.793 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.513, allocations: 365.5 kB / 0.6288 GB, free: 8.387 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.513, allocations: 0 / 0.6288 GB, free: 8.387 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.5131, allocations: 27.97 kB / 0.6289 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.5148, allocations: 307.2 kB / 0.6292 GB, free: 8.047 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.5148, allocations: 11.94 kB / 0.6292 GB, free: 8.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006786/0.5216, allocations: 6.363 MB / 0.6354 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5217, allocations: 0 / 0.6354 GB, free: 1.133 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002094/0.5238, allocations: 0.6349 MB / 0.636 GB, free: 480 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.524, allocations: 112.7 kB / 0.6361 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.5241, allocations: 4 kB / 0.6361 GB, free: 344 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.5243, allocations: 12 kB / 0.6361 GB, free: 332 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/0.5245, allocations: 35.94 kB / 0.6362 GB, free: 296 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.5245, allocations: 7.953 kB / 0.6362 GB, free: 288 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.5247, allocations: 170 kB / 0.6363 GB, free: 116 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5247, allocations: 0 / 0.6363 GB, free: 116 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007105/0.5255, allocations: 127.8 kB / 0.6364 GB, free: 15.99 MB / 458.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.0002616/0.5257, allocations: 119.2 kB / 0.6366 GB, free: 15.86 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.527, allocations: 0.7516 MB / 0.6373 GB, free: 15.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.527, allocations: 0 / 0.6373 GB, free: 15.06 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009877/0.528, allocations: 0.6823 MB / 0.638 GB, free: 14.33 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002414/0.5282, allocations: 22.58 kB / 0.638 GB, free: 14.31 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.5293, allocations: 0.6632 MB / 0.6386 GB, free: 13.62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.5298, allocations: 0.783 MB / 0.6394 GB, free: 12.81 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.335e-05/0.5299, allocations: 13.95 kB / 0.6394 GB, free: 12.8 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.5299, allocations: 11.44 kB / 0.6394 GB, free: 12.79 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5299, allocations: 0 / 0.6394 GB, free: 12.79 MB / 458.7 MB Notification: Performance of Templates: time 0.01354/0.5435, allocations: 7.522 MB / 0.6468 GB, free: 5.312 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches