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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009523/0.0009523, allocations: 186 kB / 7.806 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.036/1.036, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0007869/0.0007869, allocations: 93.61 kB / 261.4 MB, free: 13.54 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.1542/0.1542, allocations: 43.49 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.49e-06/5.5e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2211, allocations: 58.83 MB / 476.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09931/0.3204, allocations: 87.41 MB / 0.5507 GB, free: 11.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001522/0.3206, allocations: 71.97 kB / 0.5508 GB, free: 11.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01575/0.3364, allocations: 6.208 MB / 0.5569 GB, free: 5.227 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.3364, allocations: 8 kB / 0.5569 GB, free: 5.219 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.0007122/0.3371, allocations: 0.5263 MB / 0.5574 GB, free: 4.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.3372, allocations: 12.03 kB / 0.5574 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.653e-05/0.3372, allocations: 31.62 kB / 0.5574 GB, free: 4.602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000375/0.3376, allocations: 275 kB / 0.5577 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3376, allocations: 8 kB / 0.5577 GB, free: 4.285 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.3377, allocations: 12 kB / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000365/0.338, allocations: 192.9 kB / 0.5579 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.3383, allocations: 187.1 kB / 0.5581 GB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.3384, allocations: 0 / 0.5581 GB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.084e-05/0.3384, allocations: 0 / 0.5581 GB, free: 3.895 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.3384, allocations: 15.98 kB / 0.5581 GB, free: 3.879 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.3397, allocations: 0.8355 MB / 0.5589 GB, free: 2.992 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006264/0.3403, allocations: 301.7 kB / 0.5592 GB, free: 2.691 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.3405, allocations: 120.9 kB / 0.5593 GB, free: 2.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.3405, allocations: 7.984 kB / 0.5593 GB, free: 2.562 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.3405, allocations: 34.56 kB / 0.5594 GB, free: 2.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 1.252e-06/0.3406, allocations: 4 kB / 0.5594 GB, free: 2.516 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.00176/0.3423, allocations: 472.9 kB / 0.5598 GB, free: 2.035 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.3424, allocations: 59.34 kB / 0.5599 GB, free: 1.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.3425, allocations: 179.8 kB / 0.56 GB, free: 1.781 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.3426, allocations: 29.7 kB / 0.5601 GB, free: 1.746 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.255e-05/0.3426, allocations: 129 kB / 0.5602 GB, free: 1.617 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.165e-05/0.3427, allocations: 102.5 kB / 0.5603 GB, free: 1.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.3427, allocations: 7.875 kB / 0.5603 GB, free: 1.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3429, allocations: 338.8 kB / 0.5606 GB, free: 1.168 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.343, allocations: 72 kB / 0.5607 GB, free: 1.098 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.3431, allocations: 97.84 kB / 0.5608 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3433, allocations: 85.38 kB / 0.5609 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3433, allocations: 3.984 kB / 0.5609 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001632/0.3449, allocations: 0.4906 MB / 0.5613 GB, free: 408 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.345, allocations: 4 kB / 0.5614 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.345, allocations: 0 / 0.5614 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/0.3466, allocations: 311.2 kB / 0.5616 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.3467, allocations: 39.97 kB / 0.5617 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/0.3526, allocations: 6.063 MB / 0.5676 GB, free: 9.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.3529, allocations: 27.67 kB / 0.5676 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.3529, allocations: 12.06 kB / 0.5676 GB, free: 9.469 MB / 410.7 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.0001193/0.353, allocations: 120.2 kB / 0.5678 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.3531, allocations: 27.62 kB / 0.5678 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.3547, allocations: 0.492 MB / 0.5683 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3547, allocations: 0 / 0.5683 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.3547, allocations: 4 kB / 0.5683 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3547, allocations: 3.984 kB / 0.5683 GB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.355, allocations: 305.8 kB / 0.5686 GB, free: 8.469 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.355, allocations: 4 kB / 0.5686 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.3551, allocations: 27.92 kB / 0.5686 GB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00149/0.3566, allocations: 311.2 kB / 0.5689 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.3567, allocations: 0 / 0.5689 GB, free: 8.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005906/0.3626, allocations: 6.018 MB / 0.5748 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3626, allocations: 0 / 0.5748 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001621/0.3642, allocations: 0.5647 MB / 0.5753 GB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.3643, allocations: 100.8 kB / 0.5754 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.3643, allocations: 0 / 0.5754 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3645, allocations: 15.98 kB / 0.5754 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.3646, allocations: 23.88 kB / 0.5755 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.3646, allocations: 4 kB / 0.5755 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001061/0.3647, allocations: 148.5 kB / 0.5756 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004001/0.3651, allocations: 103.8 kB / 0.5757 GB, free: 0.6445 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.0001326/0.3653, allocations: 115.2 kB / 0.5758 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008068/0.3661, allocations: 0.6279 MB / 0.5764 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3661, allocations: 0 / 0.5764 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007297/0.3668, allocations: 0.5693 MB / 0.577 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.367, allocations: 16.42 kB / 0.577 GB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007794/0.3678, allocations: 389.5 kB / 0.5774 GB, free: 14.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.3681, allocations: 0.779 MB / 0.5781 GB, free: 14.01 MB / 426.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3681, allocations: 0 / 0.5781 GB, free: 14.01 MB / 426.7 MB Notification: Performance of Templates: time 0.0105/0.3787, allocations: 7.747 MB / 0.5857 GB, free: 6.27 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