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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 103 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2504/0.2504, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 64.92 kB / 382.7 MB, free: 56.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1466, allocations: 57.79 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.003638/0.1503, allocations: 2.386 MB / 442.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1514, allocations: 0.8148 MB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.1516, allocations: 4 kB / 443.7 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002153/0.1518, allocations: 51.52 kB / 443.8 MB, free: 3.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.1521, allocations: 103.2 kB / 443.9 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.1523, allocations: 95.88 kB / 444 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.1526, allocations: 338.7 kB / 444.3 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.1528, allocations: 108.9 kB / 444.4 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.153, allocations: 135.6 kB / 444.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1531, allocations: 159.2 kB / 444.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.1532, allocations: 28 kB / 444.7 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.202e-05/0.1532, allocations: 28 kB / 444.7 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.1533, allocations: 67.75 kB / 444.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1534, allocations: 147.2 kB / 445 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1537, allocations: 354.8 kB / 445.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1537, allocations: 0 / 445.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1537, allocations: 0 / 445.3 MB, free: 2.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.1537, allocations: 0 / 445.3 MB, free: 2.09 MB / 318.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.000939/0.1546, allocations: 0.612 MB / 445.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1547, allocations: 15.83 kB / 445.9 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.79e-05/0.1548, allocations: 36.5 kB / 446 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002426/0.155, allocations: 263.6 kB / 446.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.1551, allocations: 20.94 kB / 446.2 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.411e-05/0.1551, allocations: 24.38 kB / 446.3 MB, free: 1.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/0.1555, allocations: 249.2 kB / 446.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1556, allocations: 0 / 446.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.1556, allocations: 12 kB / 446.5 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.1556, allocations: 11.98 kB / 446.5 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004421/0.1561, allocations: 234.1 kB / 446.8 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.1574, allocations: 0.8637 MB / 447.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.158, allocations: 299.9 kB / 447.9 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002817/0.1583, allocations: 144.8 kB / 448.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.1584, allocations: 11.97 kB / 448.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.1584, allocations: 38.5 kB / 448.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.1584, allocations: 4 kB / 448.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.004458/0.1629, allocations: 1.25 MB / 449.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.1629, allocations: 55.41 kB / 449.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1632, allocations: 225 kB / 449.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.1632, allocations: 29.7 kB / 449.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1634, allocations: 153.2 kB / 449.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.246e-05/0.1635, allocations: 102.4 kB / 449.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.1636, allocations: 57.7 kB / 450 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1638, allocations: 334.8 kB / 450.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.164, allocations: 95.88 kB / 450.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.1643, allocations: 121.9 kB / 450.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.1647, allocations: 227.3 kB / 450.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1647, allocations: 0 / 450.7 MB, free: 12.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001754/0.1665, allocations: 0.5441 MB / 451.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.1665, allocations: 5.25 kB / 451.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.1666, allocations: 0 / 451.3 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/0.1682, allocations: 315.1 kB / 451.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.1684, allocations: 31.92 kB / 451.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008068/0.1765, allocations: 6.832 MB / 458.5 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.1768, allocations: 27.73 kB / 458.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.1768, allocations: 4 kB / 458.5 MB, free: 3.98 MB / 334.1 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002053/0.177, allocations: 154.5 kB / 458.6 MB, free: 3.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.1771, allocations: 23.78 kB / 458.7 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/0.1788, allocations: 0.5629 MB / 459.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1788, allocations: 4 kB / 459.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1789, allocations: 7.938 kB / 459.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1789, allocations: 0 / 459.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.1793, allocations: 349.3 kB / 459.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.1794, allocations: 0 / 459.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.1795, allocations: 19.98 kB / 459.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.181, allocations: 307.2 kB / 459.9 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.181, allocations: 4 kB / 459.9 MB, free: 2.477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008645/0.1897, allocations: 6.905 MB / 466.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1897, allocations: 0 / 466.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.1915, allocations: 0.6153 MB / 467.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.1916, allocations: 104.7 kB / 467.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.1917, allocations: 7.938 kB / 467.5 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.1919, allocations: 19.98 kB / 467.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.192, allocations: 27.95 kB / 467.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1921, allocations: 8 kB / 467.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.1922, allocations: 160.5 kB / 467.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1923, allocations: 0 / 467.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005766/0.1928, allocations: 115.8 kB / 467.9 MB, free: 9.918 MB / 350.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 () * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(2,4), (2,4), (2,4), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001677/0.193, allocations: 107.2 kB / 468 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.1942, allocations: 0.768 MB / 468.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1943, allocations: 0 / 468.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.1958, allocations: 0.7256 MB / 469.5 MB, free: 8.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1962, allocations: 24.36 kB / 469.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1973, allocations: 0.5577 MB / 470 MB, free: 7.605 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.1977, allocations: 0.7678 MB / 470.8 MB, free: 6.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.29e-05/0.1978, allocations: 9.969 kB / 470.8 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.527e-05/0.1978, allocations: 11.44 kB / 470.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1978, allocations: 0 / 470.8 MB, free: 6.793 MB / 350.1 MB Notification: Performance of Templates: time 0.01662/0.2145, allocations: 8.008 MB / 478.8 MB, free: 14.8 MB / 366.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches