Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001094/0.001094, allocations: 183 kB / 13.19 MB, free: 2.129 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.269/1.269, allocations: 205.2 MB / 218.9 MB, free: 9.148 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.0008564/0.0008563, allocations: 87.86 kB / 267.1 MB, free: 9.262 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.3193/0.3193, allocations: 43.46 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.638e-05/2.642e-05, allocations: 4 kB / 425.3 MB, free: 8.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 58.86 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2931/0.4046, allocations: 88.13 MB / 0.5589 GB, free: 0.875 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.4048, allocations: 72.91 kB / 0.5589 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01654/0.4214, allocations: 6.578 MB / 0.5654 GB, free: 10.26 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4214, allocations: 0 / 0.5654 GB, free: 10.26 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.4214, allocations: 8 kB / 0.5654 GB, free: 10.25 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.000733/0.4222, allocations: 0.5203 MB / 0.5659 GB, free: 9.688 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.4222, allocations: 16.03 kB / 0.5659 GB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.814e-05/0.4223, allocations: 35.06 kB / 0.5659 GB, free: 9.641 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.4227, allocations: 279 kB / 0.5662 GB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.4227, allocations: 20.56 kB / 0.5662 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.669e-05/0.4227, allocations: 24 kB / 0.5662 GB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003902/0.4231, allocations: 224.9 kB / 0.5665 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4232, allocations: 0 / 0.5665 GB, free: 9.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.4232, allocations: 8 kB / 0.5665 GB, free: 9.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.4232, allocations: 9.375 kB / 0.5665 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.4236, allocations: 202.2 kB / 0.5667 GB, free: 8.844 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.4248, allocations: 0.882 MB / 0.5675 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.4255, allocations: 326.9 kB / 0.5678 GB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.4257, allocations: 131.2 kB / 0.568 GB, free: 7.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.445e-05/0.4257, allocations: 7.984 kB / 0.568 GB, free: 7.43 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.4258, allocations: 34.52 kB / 0.568 GB, free: 7.387 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 2.715e-06/0.4258, allocations: 3.984 kB / 0.568 GB, free: 7.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.001652/0.4274, allocations: 0.489 MB / 0.5685 GB, free: 6.875 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.4275, allocations: 55.41 kB / 0.5685 GB, free: 6.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.4276, allocations: 192.8 kB / 0.5687 GB, free: 6.617 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.4277, allocations: 29.7 kB / 0.5688 GB, free: 6.582 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.4278, allocations: 156.9 kB / 0.5689 GB, free: 6.426 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.4278, allocations: 107.8 kB / 0.569 GB, free: 6.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.425e-05/0.4279, allocations: 4 kB / 0.569 GB, free: 6.316 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.428, allocations: 342.8 kB / 0.5693 GB, free: 5.973 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.4281, allocations: 73.48 kB / 0.5694 GB, free: 5.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001546/0.4283, allocations: 109.8 kB / 0.5695 GB, free: 5.785 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.4285, allocations: 97.25 kB / 0.5696 GB, free: 5.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4285, allocations: 4 kB / 0.5696 GB, free: 5.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001547/0.43, allocations: 0.5141 MB / 0.5701 GB, free: 5.156 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4301, allocations: 4 kB / 0.5701 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4301, allocations: 4 kB / 0.5701 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.4315, allocations: 311.2 kB / 0.5704 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.4317, allocations: 31.91 kB / 0.5704 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006136/0.4378, allocations: 6.363 MB / 0.5767 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.4381, allocations: 31.77 kB / 0.5767 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.073e-05/0.4381, allocations: 8 kB / 0.5767 GB, free: 13.87 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 () * 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 9.18e-05/0.4382, allocations: 125.4 kB / 0.5768 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.4382, allocations: 23.72 kB / 0.5768 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.4398, allocations: 0.5191 MB / 0.5773 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4398, allocations: 4 kB / 0.5773 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.4399, allocations: 4 kB / 0.5774 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.4399, allocations: 0 / 0.5774 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.4402, allocations: 365.1 kB / 0.5777 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4403, allocations: 0 / 0.5777 GB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.4404, allocations: 19.98 kB / 0.5777 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/0.4417, allocations: 319.2 kB / 0.578 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.4418, allocations: 4 kB / 0.578 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005875/0.4476, allocations: 6.297 MB / 0.5842 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.4477, allocations: 4.031 kB / 0.5842 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001488/0.4492, allocations: 0.5963 MB / 0.5848 GB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.046e-05/0.4492, allocations: 108.8 kB / 0.5849 GB, free: 4.832 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.4493, allocations: 4 kB / 0.5849 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.4495, allocations: 12 kB / 0.5849 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.4496, allocations: 35.89 kB / 0.5849 GB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.4496, allocations: 8 kB / 0.5849 GB, free: 4.773 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001275/0.4497, allocations: 153.4 kB / 0.5851 GB, free: 4.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4497, allocations: 0 / 0.5851 GB, free: 4.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000457/0.4502, allocations: 127.8 kB / 0.5852 GB, free: 4.5 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 () * 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.0001339/0.4503, allocations: 120 kB / 0.5853 GB, free: 4.375 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008138/0.4512, allocations: 0.702 MB / 0.586 GB, free: 3.625 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4512, allocations: 0 / 0.586 GB, free: 3.625 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007877/0.452, allocations: 0.6544 MB / 0.5866 GB, free: 2.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.4522, allocations: 21.47 kB / 0.5867 GB, free: 2.898 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006402/0.4528, allocations: 353 kB / 0.587 GB, free: 2.527 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.4532, allocations: 0.7794 MB / 0.5877 GB, free: 1.723 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.397e-05/0.4533, allocations: 6.094 kB / 0.5878 GB, free: 1.719 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.4533, allocations: 11.44 kB / 0.5878 GB, free: 1.707 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4533, allocations: 0 / 0.5878 GB, free: 1.707 MB / 410.7 MB Notification: Performance of Templates: time 0.01193/0.4653, allocations: 7.787 MB / 0.5954 GB, free: 9.953 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat","/var/lib/jenkins/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_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches