Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.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_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape") translateModel(ModelicaTest.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_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002215/0.002215, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 94.67 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2939/0.2939, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.673e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3943, allocations: 58.86 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.5544, allocations: 87.47 MB / 0.5513 GB, free: 11.83 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.5548, allocations: 71.97 kB / 0.5514 GB, free: 11.76 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0303/0.5851, allocations: 6.518 MB / 0.5578 GB, free: 5.219 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5852, allocations: 0 / 0.5578 GB, free: 5.219 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.5852, allocations: 4 kB / 0.5578 GB, free: 5.215 MB / 395.1 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.00135/0.5866, allocations: 0.5225 MB / 0.5583 GB, free: 4.648 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.5866, allocations: 8.031 kB / 0.5583 GB, free: 4.641 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.671e-05/0.5867, allocations: 35.62 kB / 0.5583 GB, free: 4.605 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006324/0.5874, allocations: 271.1 kB / 0.5586 GB, free: 4.301 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.5874, allocations: 8 kB / 0.5586 GB, free: 4.293 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.691e-05/0.5875, allocations: 19.94 kB / 0.5586 GB, free: 4.273 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006372/0.5882, allocations: 181.1 kB / 0.5588 GB, free: 4.094 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005401/0.5887, allocations: 191.8 kB / 0.559 GB, free: 3.898 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.5888, allocations: 3.984 kB / 0.559 GB, free: 3.895 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.5888, allocations: 4 kB / 0.559 GB, free: 3.891 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.5888, allocations: 4 kB / 0.559 GB, free: 3.887 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.591, allocations: 0.8318 MB / 0.5598 GB, free: 3.004 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.5922, allocations: 302.7 kB / 0.5601 GB, free: 2.695 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.5925, allocations: 124.9 kB / 0.5602 GB, free: 2.57 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.513e-05/0.5926, allocations: 7.984 kB / 0.5602 GB, free: 2.562 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.5926, allocations: 34.5 kB / 0.5602 GB, free: 2.52 MB / 395.1 MB Notification: Performance of pre-optimization done (n=31): time 3.306e-06/0.5927, allocations: 0 / 0.5602 GB, free: 2.52 MB / 395.1 MB Notification: Performance of matching and sorting (n=31): time 0.002922/0.5956, allocations: 476.8 kB / 0.5607 GB, free: 2.035 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.5957, allocations: 63.28 kB / 0.5607 GB, free: 1.961 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002981/0.596, allocations: 183.9 kB / 0.5609 GB, free: 1.777 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 5.031e-05/0.5961, allocations: 25.7 kB / 0.5609 GB, free: 1.746 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.5962, allocations: 215.3 kB / 0.5612 GB, free: 1.535 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.5964, allocations: 90.56 kB / 0.5612 GB, free: 1.445 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.924e-05/0.5964, allocations: 4 kB / 0.5612 GB, free: 1.441 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.5966, allocations: 326.8 kB / 0.5616 GB, free: 1.113 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.5968, allocations: 72 kB / 0.5616 GB, free: 1.043 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.5971, allocations: 101.8 kB / 0.5617 GB, free: 0.9336 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.5974, allocations: 85.36 kB / 0.5618 GB, free: 0.8516 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5974, allocations: 4 kB / 0.5618 GB, free: 0.8477 MB / 395.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002862/0.6003, allocations: 482.5 kB / 0.5623 GB, free: 368 kB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.6003, allocations: 4 kB / 0.5623 GB, free: 364 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.6004, allocations: 0 / 0.5623 GB, free: 364 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002788/0.6032, allocations: 315.1 kB / 0.5626 GB, free: 36 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.6035, allocations: 35.91 kB / 0.5626 GB, free: 0 / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01046/0.614, allocations: 6.11 MB / 0.5686 GB, free: 9.422 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.6144, allocations: 20.61 kB / 0.5686 GB, free: 9.402 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.6145, allocations: 12 kB / 0.5686 GB, free: 9.391 MB / 411.1 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.0002281/0.6147, allocations: 112.9 kB / 0.5687 GB, free: 9.273 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.431e-05/0.6148, allocations: 27.62 kB / 0.5687 GB, free: 9.246 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/0.6177, allocations: 499.9 kB / 0.5692 GB, free: 8.742 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.6177, allocations: 4 kB / 0.5692 GB, free: 8.738 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6177, allocations: 0 / 0.5692 GB, free: 8.738 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.442e-05/0.6178, allocations: 7.969 kB / 0.5692 GB, free: 8.73 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006559/0.6184, allocations: 313.8 kB / 0.5695 GB, free: 8.387 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6185, allocations: 4 kB / 0.5695 GB, free: 8.383 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002349/0.6187, allocations: 23.92 kB / 0.5696 GB, free: 8.359 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002652/0.6214, allocations: 307.2 kB / 0.5698 GB, free: 8.047 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.6215, allocations: 0 / 0.5698 GB, free: 8.047 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009935/0.6314, allocations: 6.05 MB / 0.5758 GB, free: 1.531 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.6315, allocations: 4.016 kB / 0.5758 GB, free: 1.527 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/0.6343, allocations: 0.5649 MB / 0.5763 GB, free: 0.9336 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.6345, allocations: 100.8 kB / 0.5764 GB, free: 0.8164 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.6346, allocations: 3.938 kB / 0.5764 GB, free: 0.8125 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.6349, allocations: 15.98 kB / 0.5764 GB, free: 0.7969 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.6351, allocations: 35.84 kB / 0.5765 GB, free: 0.7617 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.6352, allocations: 12 kB / 0.5765 GB, free: 0.75 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001997/0.6354, allocations: 144.5 kB / 0.5766 GB, free: 0.6133 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6354, allocations: 0 / 0.5766 GB, free: 0.6133 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0007621/0.6361, allocations: 103.8 kB / 0.5767 GB, free: 0.5117 MB / 411.1 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.0002035/0.6364, allocations: 111.2 kB / 0.5768 GB, free: 404 kB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.6379, allocations: 0.6823 MB / 0.5775 GB, free: 15.67 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6379, allocations: 0 / 0.5775 GB, free: 15.67 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.6392, allocations: 0.616 MB / 0.5781 GB, free: 15.02 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.6396, allocations: 8.438 kB / 0.5781 GB, free: 15.01 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.6407, allocations: 356.2 kB / 0.5784 GB, free: 14.63 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.6411, allocations: 0.7794 MB / 0.5792 GB, free: 13.82 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.6412, allocations: 19.38 kB / 0.5792 GB, free: 13.8 MB / 427.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6412, allocations: 4 kB / 0.5792 GB, free: 13.8 MB / 427.1 MB Notification: Performance of Templates: time 0.01572/0.657, allocations: 7.665 MB / 0.5867 GB, free: 6.129 MB / 427.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches