Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000967/0.0009669, allocations: 190.5 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 226.5 MB / 244.1 MB, free: 8.102 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007852/0.0007852, allocations: 107.8 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3279/0.3279, allocations: 44.83 MB / 393 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002518/0.0002519, allocations: 7.984 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2899, allocations: 62.96 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.4043, allocations: 91.12 MB / 0.6055 GB, free: 14.26 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.4046, allocations: 79.95 kB / 0.6055 GB, free: 14.18 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01779/0.4224, allocations: 6.897 MB / 0.6123 GB, free: 7.258 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4224, allocations: 0 / 0.6123 GB, free: 7.258 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.4224, allocations: 8 kB / 0.6123 GB, free: 7.25 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.0008617/0.4233, allocations: 0.5544 MB / 0.6128 GB, free: 6.645 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4234, allocations: 12.03 kB / 0.6128 GB, free: 6.633 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.4235, allocations: 32.56 kB / 0.6129 GB, free: 6.602 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.4239, allocations: 295.7 kB / 0.6131 GB, free: 6.277 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.4239, allocations: 20.92 kB / 0.6132 GB, free: 6.254 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.424, allocations: 24.38 kB / 0.6132 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.4245, allocations: 249.4 kB / 0.6134 GB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4245, allocations: 192 / 0.6134 GB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.4245, allocations: 19.94 kB / 0.6134 GB, free: 5.965 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.4245, allocations: 8 kB / 0.6135 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004788/0.425, allocations: 238.1 kB / 0.6137 GB, free: 5.727 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.4264, allocations: 0.8811 MB / 0.6145 GB, free: 4.781 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005027/0.4269, allocations: 303.5 kB / 0.6148 GB, free: 4.477 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003013/0.4272, allocations: 152.7 kB / 0.615 GB, free: 4.324 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.4273, allocations: 11.98 kB / 0.615 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.4273, allocations: 34.55 kB / 0.615 GB, free: 4.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 3.396e-06/0.4273, allocations: 0 / 0.615 GB, free: 4.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.004007/0.4313, allocations: 1.258 MB / 0.6162 GB, free: 2.918 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.4314, allocations: 59.41 kB / 0.6163 GB, free: 2.848 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.4316, allocations: 209 kB / 0.6165 GB, free: 2.633 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.4316, allocations: 29.7 kB / 0.6165 GB, free: 2.598 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.934e-05/0.4317, allocations: 165.1 kB / 0.6167 GB, free: 2.434 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.15e-05/0.4318, allocations: 106.4 kB / 0.6168 GB, free: 2.328 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/0.4318, allocations: 8 kB / 0.6168 GB, free: 2.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.432, allocations: 338.8 kB / 0.6171 GB, free: 1.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.4322, allocations: 99.95 kB / 0.6172 GB, free: 1.883 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.4324, allocations: 125.2 kB / 0.6173 GB, free: 1.754 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.4329, allocations: 236.1 kB / 0.6176 GB, free: 1.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4329, allocations: 0 / 0.6176 GB, free: 1.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001644/0.4345, allocations: 0.5528 MB / 0.6181 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.4346, allocations: 6.656 kB / 0.6181 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4346, allocations: 0 / 0.6181 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.4361, allocations: 323.1 kB / 0.6184 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.4363, allocations: 31.97 kB / 0.6184 GB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006225/0.4425, allocations: 6.331 MB / 0.6246 GB, free: 9.719 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.4427, allocations: 27.91 kB / 0.6247 GB, free: 9.691 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.4428, allocations: 12 kB / 0.6247 GB, free: 9.68 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.0001604/0.4429, allocations: 141.8 kB / 0.6248 GB, free: 9.531 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.443, allocations: 31.66 kB / 0.6248 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001675/0.4447, allocations: 0.5502 MB / 0.6254 GB, free: 8.934 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4447, allocations: 4 kB / 0.6254 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.4447, allocations: 3.938 kB / 0.6254 GB, free: 8.926 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4447, allocations: 11.92 kB / 0.6254 GB, free: 8.914 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003882/0.4451, allocations: 357.2 kB / 0.6257 GB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.4451, allocations: 0 / 0.6257 GB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.4452, allocations: 27.91 kB / 0.6258 GB, free: 8.488 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.4467, allocations: 311.2 kB / 0.6261 GB, free: 8.172 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.4467, allocations: 7.938 kB / 0.6261 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006133/0.4529, allocations: 6.264 MB / 0.6322 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4529, allocations: 0 / 0.6322 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.4546, allocations: 0.6246 MB / 0.6328 GB, free: 0.7148 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.4546, allocations: 112.6 kB / 0.6329 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.4547, allocations: 7.984 kB / 0.6329 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.4549, allocations: 16.25 kB / 0.6329 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.922e-05/0.455, allocations: 39.88 kB / 0.633 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.455, allocations: 8 kB / 0.633 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.4551, allocations: 156.5 kB / 0.6331 GB, free: 368 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4552, allocations: 0 / 0.6331 GB, free: 368 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004896/0.4556, allocations: 123.8 kB / 0.6332 GB, free: 244 kB / 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.000163/0.4558, allocations: 122.9 kB / 0.6334 GB, free: 112 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.4569, allocations: 0.7485 MB / 0.6341 GB, free: 15.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.457, allocations: 4 kB / 0.6341 GB, free: 15.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.458, allocations: 0.6703 MB / 0.6347 GB, free: 14.58 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.4584, allocations: 28.38 kB / 0.6348 GB, free: 14.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.4594, allocations: 0.6637 MB / 0.6354 GB, free: 13.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.4598, allocations: 0.7717 MB / 0.6362 GB, free: 13.05 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.4599, allocations: 11.44 kB / 0.6362 GB, free: 13.04 MB / 458.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4599, allocations: 0 / 0.6362 GB, free: 13.04 MB / 458.7 MB Notification: Performance of Templates: time 0.009217/0.4691, allocations: 8.048 MB / 0.644 GB, free: 4.996 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Magnetic.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches