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.001317/0.001317, allocations: 103.6 kB / 16.93 MB, free: 5.793 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.00147/0.00147, allocations: 191.3 kB / 17.86 MB, free: 5.152 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.398/1.398, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2164/0.2164, allocations: 43.52 MB / 314.6 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.00148/0.00148, allocations: 62.95 kB / 383.4 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.118, allocations: 57.79 MB / 441.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.004351/0.1224, allocations: 2.404 MB / 443.6 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.124, allocations: 0.8032 MB / 444.4 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.1242, allocations: 4 kB / 444.4 MB, free: 3.664 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002611/0.1245, allocations: 51.52 kB / 444.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003729/0.1249, allocations: 107.2 kB / 444.5 MB, free: 3.508 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.1253, allocations: 91.81 kB / 444.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.1257, allocations: 346.5 kB / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.1259, allocations: 108.9 kB / 445.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002434/0.1262, allocations: 147.5 kB / 445.2 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002129/0.1264, allocations: 147.3 kB / 445.4 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.834e-05/0.1265, allocations: 28 kB / 445.4 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.448e-05/0.1266, allocations: 32 kB / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.1267, allocations: 71.75 kB / 445.5 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.1268, allocations: 151.2 kB / 445.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.1272, allocations: 346.8 kB / 446 MB, free: 2.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1272, allocations: 7.922 kB / 446 MB, free: 2.062 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1272, allocations: 0 / 446 MB, free: 2.062 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1272, allocations: 0 / 446 MB, free: 2.062 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.00126/0.1285, allocations: 0.6081 MB / 446.6 MB, free: 1.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1286, allocations: 15.89 kB / 446.6 MB, free: 1.391 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.953e-05/0.1287, allocations: 32.56 kB / 446.6 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.129, allocations: 263.6 kB / 446.9 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.129, allocations: 20.92 kB / 446.9 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.109e-05/0.1291, allocations: 20.38 kB / 446.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006508/0.1297, allocations: 249.1 kB / 447.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1298, allocations: 4 kB / 447.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.1298, allocations: 12 kB / 447.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.1298, allocations: 8 kB / 447.2 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006663/0.1305, allocations: 230.1 kB / 447.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001753/0.1323, allocations: 0.8637 MB / 448.3 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008265/0.1331, allocations: 299.9 kB / 448.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.1336, allocations: 144.8 kB / 448.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.322e-05/0.1337, allocations: 11.97 kB / 448.7 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.1337, allocations: 38.56 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 5.23e-06/0.1337, allocations: 3.984 kB / 448.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.006593/0.1403, allocations: 1.258 MB / 450 MB, free: 13.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.776e-05/0.1404, allocations: 55.41 kB / 450.1 MB, free: 13.67 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.1408, allocations: 213 kB / 450.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.003e-05/0.1408, allocations: 29.7 kB / 450.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.141, allocations: 161.1 kB / 450.5 MB, free: 13.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.1411, allocations: 102.4 kB / 450.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.1413, allocations: 61.69 kB / 450.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1415, allocations: 334.8 kB / 451 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003337/0.1419, allocations: 91.95 kB / 451.1 MB, free: 12.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.1422, allocations: 117.9 kB / 451.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007072/0.143, allocations: 235.2 kB / 451.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.143, allocations: 0 / 451.4 MB, free: 12.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002661/0.1456, allocations: 0.5402 MB / 452 MB, free: 11.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.545e-05/0.1457, allocations: 8 kB / 452 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.1457, allocations: 0 / 452 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/0.1481, allocations: 315.1 kB / 452.3 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.1483, allocations: 27.92 kB / 452.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.1589, allocations: 6.817 MB / 459.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.1594, allocations: 27.77 kB / 459.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.1594, allocations: 12 kB / 459.2 MB, free: 3.969 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.0002625/0.1597, allocations: 154.6 kB / 459.3 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.218e-05/0.1598, allocations: 23.72 kB / 459.3 MB, free: 3.785 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/0.1624, allocations: 0.5512 MB / 459.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1624, allocations: 4 kB / 459.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.1624, allocations: 3.938 kB / 459.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.1625, allocations: 0 / 459.9 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/0.1631, allocations: 357.5 kB / 460.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.1631, allocations: 4 kB / 460.2 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.1633, allocations: 19.98 kB / 460.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002023/0.1653, allocations: 311.1 kB / 460.6 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.1654, allocations: 8 kB / 460.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01061/0.176, allocations: 6.897 MB / 467.5 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.176, allocations: 3.938 kB / 467.5 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002394/0.1784, allocations: 0.6153 MB / 468.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.1786, allocations: 108.7 kB / 468.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.906e-05/0.1786, allocations: 8 kB / 468.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002685/0.1789, allocations: 11.98 kB / 468.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.1791, allocations: 27.95 kB / 468.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.1791, allocations: 15.94 kB / 468.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002192/0.1794, allocations: 156.5 kB / 468.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1794, allocations: 0 / 468.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008263/0.1802, allocations: 119.8 kB / 468.5 MB, free: 9.902 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.000175/0.1804, allocations: 103.4 kB / 468.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.182, allocations: 0.7641 MB / 469.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.1821, allocations: 0 / 469.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001882/0.184, allocations: 0.7372 MB / 470.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1843, allocations: 28.44 kB / 470.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.1854, allocations: 0.5632 MB / 470.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.1858, allocations: 0.7717 MB / 471.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.1859, allocations: 11.44 kB / 471.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of SimCode: time 2.004e-06/0.1859, allocations: 0 / 471.5 MB, free: 6.762 MB / 350.1 MB Notification: Performance of Templates: time 0.01005/0.1959, allocations: 7.992 MB / 479.5 MB, free: 14.77 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/FixedShape/FixedShape.csv","/var/lib/jenkins1/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