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.001423/0.001423, allocations: 178.2 kB / 16.41 MB, free: 5.707 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.646/1.646, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008697/0.0008697, allocations: 90.31 kB / 270.9 MB, free: 8.355 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.4706/0.4706, allocations: 43.56 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004339, allocations: 12 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1556, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.002731/0.1584, allocations: 2.003 MB / 492.2 MB, free: 8.965 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1598, allocations: 0.7645 MB / 493 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.16, allocations: 4 kB / 493 MB, free: 8.188 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.1601, allocations: 39.69 kB / 493 MB, free: 8.148 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.1604, allocations: 91.44 kB / 493.1 MB, free: 8.059 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.1607, allocations: 71.91 kB / 493.2 MB, free: 7.988 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.161, allocations: 310.8 kB / 493.5 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.1612, allocations: 77.12 kB / 493.6 MB, free: 7.609 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.1614, allocations: 107.6 kB / 493.7 MB, free: 7.504 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.1616, allocations: 131.4 kB / 493.8 MB, free: 7.375 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.656e-05/0.1617, allocations: 16 kB / 493.8 MB, free: 7.359 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.63e-05/0.1617, allocations: 16 kB / 493.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.571e-05/0.1618, allocations: 51.81 kB / 493.9 MB, free: 7.293 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.075e-05/0.1619, allocations: 77.52 kB / 494 MB, free: 7.211 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.1621, allocations: 255.5 kB / 494.2 MB, free: 6.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1621, allocations: 0 / 494.2 MB, free: 6.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1621, allocations: 0 / 494.2 MB, free: 6.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1622, allocations: 8 kB / 494.2 MB, free: 6.953 MB / 378.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.001235/0.1634, allocations: 0.5651 MB / 494.8 MB, free: 6.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.1635, allocations: 16.02 kB / 494.8 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.697e-05/0.1636, allocations: 39.48 kB / 494.9 MB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000342/0.1639, allocations: 250.5 kB / 495.1 MB, free: 6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.164, allocations: 16.56 kB / 495.1 MB, free: 5.984 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.164, allocations: 24 kB / 495.1 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.1645, allocations: 248.9 kB / 495.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.1645, allocations: 0 / 495.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.1646, allocations: 12 kB / 495.4 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1646, allocations: 4 kB / 495.4 MB, free: 5.699 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005082/0.1651, allocations: 246.1 kB / 495.6 MB, free: 5.461 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.1666, allocations: 0.8792 MB / 496.5 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005418/0.1672, allocations: 314.8 kB / 496.8 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.1675, allocations: 156.8 kB / 497 MB, free: 4.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.1675, allocations: 7.984 kB / 497 MB, free: 4.039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.1676, allocations: 38.56 kB / 497 MB, free: 3.992 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.1676, allocations: 0 / 497 MB, free: 3.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.004556/0.1721, allocations: 1.262 MB / 498.3 MB, free: 2.637 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.1722, allocations: 55.41 kB / 498.3 MB, free: 2.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/0.1725, allocations: 209 kB / 498.5 MB, free: 2.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.1725, allocations: 29.7 kB / 498.6 MB, free: 2.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1726, allocations: 165 kB / 498.7 MB, free: 2.152 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/0.1727, allocations: 110.4 kB / 498.8 MB, free: 2.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.1728, allocations: 4 kB / 498.8 MB, free: 2.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1729, allocations: 330.8 kB / 499.2 MB, free: 1.707 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.1732, allocations: 103.8 kB / 499.3 MB, free: 1.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.1734, allocations: 129.8 kB / 499.4 MB, free: 1.473 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.1737, allocations: 129.2 kB / 499.5 MB, free: 1.348 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1737, allocations: 0 / 499.5 MB, free: 1.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001765/0.1754, allocations: 0.5406 MB / 0.4883 GB, free: 0.7891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.1755, allocations: 7.984 kB / 0.4883 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1755, allocations: 0 / 0.4883 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001655/0.1771, allocations: 311.2 kB / 0.4886 GB, free: 476 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.1773, allocations: 27.97 kB / 0.4887 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2906/0.468, allocations: 6.323 MB / 0.4948 GB, free: 37.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002374/0.4682, allocations: 29.52 kB / 0.4949 GB, free: 37.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.742e-05/0.4683, allocations: 12.03 kB / 0.4949 GB, free: 37.97 MB / 378.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.0001573/0.4684, allocations: 135 kB / 0.495 GB, free: 37.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.4685, allocations: 31.41 kB / 0.495 GB, free: 37.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/0.4704, allocations: 0.5563 MB / 0.4956 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.4704, allocations: 4.812 kB / 0.4956 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.4704, allocations: 4.922 kB / 0.4956 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4704, allocations: 0.5625 kB / 0.4956 GB, free: 37.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.4709, allocations: 353.1 kB / 0.4959 GB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4709, allocations: 0.5625 kB / 0.4959 GB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.471, allocations: 24.95 kB / 0.496 GB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.4726, allocations: 321.2 kB / 0.4963 GB, free: 37.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/0.4727, allocations: 5.531 kB / 0.4963 GB, free: 37.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006685/0.4794, allocations: 6.353 MB / 0.5025 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4794, allocations: 0 / 0.5025 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.4813, allocations: 0.6295 MB / 0.5031 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.4813, allocations: 108.5 kB / 0.5032 GB, free: 32.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.4814, allocations: 10.75 kB / 0.5032 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.4816, allocations: 18.38 kB / 0.5032 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.4817, allocations: 37.59 kB / 0.5033 GB, free: 32.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.4817, allocations: 5.5 kB / 0.5033 GB, free: 32.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001526/0.4819, allocations: 159.3 kB / 0.5034 GB, free: 32.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4819, allocations: 0 / 0.5034 GB, free: 32.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006106/0.4825, allocations: 119.5 kB / 0.5035 GB, free: 32.03 MB / 378.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 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001212/0.4827, allocations: 100 kB / 0.5036 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.4838, allocations: 0.7471 MB / 0.5044 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4838, allocations: 2.953 kB / 0.5044 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.485, allocations: 0.716 MB / 0.5051 GB, free: 31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.4853, allocations: 25.52 kB / 0.5051 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009889/0.4863, allocations: 0.668 MB / 0.5057 GB, free: 30.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.4866, allocations: 0.7684 MB / 0.5065 GB, free: 29.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.4866, allocations: 16.81 kB / 0.5065 GB, free: 29.85 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4866, allocations: 0 / 0.5065 GB, free: 29.85 MB / 378.7 MB Notification: Performance of Templates: time 0.009465/0.4961, allocations: 7.964 MB / 0.5143 GB, free: 29.23 MB / 378.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/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_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches