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.002372/0.002372, allocations: 186.3 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.962/1.962, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 91.41 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5177/0.5177, allocations: 43.55 MB / 362.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006339/0.000634, allocations: 12 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1306, allocations: 58.85 MB / 490.2 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.46/0.5907, allocations: 88.22 MB / 0.5649 GB, free: 14.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.591, allocations: 75.97 kB / 0.565 GB, free: 14.27 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02976/0.6208, allocations: 6.588 MB / 0.5714 GB, free: 7.703 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6209, allocations: 0 / 0.5714 GB, free: 7.703 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.6209, allocations: 4 kB / 0.5714 GB, free: 7.699 MB / 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.001295/0.6222, allocations: 0.5524 MB / 0.5719 GB, free: 7.102 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.34e-05/0.6223, allocations: 8.781 kB / 0.5719 GB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.679e-05/0.6224, allocations: 31.62 kB / 0.572 GB, free: 7.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005996/0.623, allocations: 278.4 kB / 0.5722 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.023e-05/0.6231, allocations: 24.55 kB / 0.5723 GB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/0.6231, allocations: 24 kB / 0.5723 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007841/0.6239, allocations: 244.8 kB / 0.5725 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.624, allocations: 0 / 0.5725 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.624, allocations: 15.94 kB / 0.5725 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.624, allocations: 11.94 kB / 0.5725 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008576/0.6249, allocations: 239.2 kB / 0.5728 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.6271, allocations: 0.886 MB / 0.5736 GB, free: 5.258 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.6285, allocations: 344.2 kB / 0.574 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-05/0.6286, allocations: 11.98 kB / 0.574 GB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.6286, allocations: 30.56 kB / 0.574 GB, free: 4.859 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 3.727e-06/0.6286, allocations: 4 kB / 0.574 GB, free: 4.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.007792/0.6364, allocations: 1.241 MB / 0.5752 GB, free: 3.523 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.6365, allocations: 55.41 kB / 0.5753 GB, free: 3.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003116/0.6368, allocations: 188.2 kB / 0.5755 GB, free: 3.266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.6369, allocations: 33.7 kB / 0.5755 GB, free: 3.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001398/0.6371, allocations: 215.5 kB / 0.5757 GB, free: 3.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.6372, allocations: 102.5 kB / 0.5758 GB, free: 2.914 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.6372, allocations: 8 kB / 0.5758 GB, free: 2.906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6374, allocations: 322.8 kB / 0.5761 GB, free: 2.582 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003952/0.6378, allocations: 101.4 kB / 0.5762 GB, free: 2.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.6382, allocations: 125.8 kB / 0.5763 GB, free: 2.352 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.6387, allocations: 113.3 kB / 0.5764 GB, free: 2.242 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6387, allocations: 0 / 0.5764 GB, free: 2.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003189/0.6419, allocations: 0.5532 MB / 0.577 GB, free: 1.672 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.6419, allocations: 7.953 kB / 0.577 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.642, allocations: 0 / 0.577 GB, free: 1.664 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002852/0.6448, allocations: 323.1 kB / 0.5773 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.6452, allocations: 27.92 kB / 0.5773 GB, free: 1.309 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.6557, allocations: 6.403 MB / 0.5836 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004199/0.6562, allocations: 27.73 kB / 0.5836 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/0.6562, allocations: 12 kB / 0.5836 GB, free: 10.34 MB / 410.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.0002286/0.6565, allocations: 149.8 kB / 0.5837 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.6565, allocations: 27.7 kB / 0.5838 GB, free: 10.15 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/0.6596, allocations: 0.5657 MB / 0.5843 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.6597, allocations: 4 kB / 0.5843 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.6597, allocations: 0 / 0.5843 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.6597, allocations: 3.984 kB / 0.5843 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006547/0.6604, allocations: 353.2 kB / 0.5847 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6604, allocations: 4 kB / 0.5847 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.6606, allocations: 23.97 kB / 0.5847 GB, free: 9.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002673/0.6633, allocations: 323.5 kB / 0.585 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.6634, allocations: 4 kB / 0.585 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/0.6735, allocations: 6.339 MB / 0.5912 GB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6735, allocations: 0 / 0.5912 GB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003069/0.6766, allocations: 0.6312 MB / 0.5918 GB, free: 1.277 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.6768, allocations: 108.7 kB / 0.5919 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.6769, allocations: 4 kB / 0.5919 GB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.6772, allocations: 15.98 kB / 0.5919 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.6774, allocations: 39.89 kB / 0.592 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/0.6775, allocations: 11.95 kB / 0.592 GB, free: 1.082 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002197/0.6777, allocations: 156.5 kB / 0.5921 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6777, allocations: 0 / 0.5921 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007263/0.6784, allocations: 111.9 kB / 0.5922 GB, free: 0.8242 MB / 410.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.0001975/0.6786, allocations: 119.2 kB / 0.5924 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.6803, allocations: 0.7545 MB / 0.5931 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.6803, allocations: 0 / 0.5931 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.6818, allocations: 0.6783 MB / 0.5938 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.6821, allocations: 12.44 kB / 0.5938 GB, free: 15.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.6837, allocations: 0.6746 MB / 0.5944 GB, free: 14.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.6841, allocations: 0.7794 MB / 0.5952 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.93e-05/0.6842, allocations: 11.44 kB / 0.5952 GB, free: 13.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6842, allocations: 0 / 0.5952 GB, free: 13.62 MB / 426.7 MB Notification: Performance of Templates: time 0.01472/0.6989, allocations: 7.632 MB / 0.6027 GB, free: 5.996 MB / 426.7 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