Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") translateModel(ModelicaTest.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 172.7 kB / 16.08 MB, free: 5.602 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.8/1.8, allocations: 205.6 MB / 222.4 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008259/0.0008259, allocations: 82.44 kB / 270.8 MB, free: 8.133 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.433/0.433, allocations: 43.67 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 8 kB / 432.3 MB, free: 5.016 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1417, allocations: 58.85 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.00313/0.1449, allocations: 2.54 MB / 493.7 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.1462, allocations: 0.7336 MB / 494.4 MB, free: 6.742 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.1463, allocations: 7.938 kB / 494.4 MB, free: 6.734 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.1465, allocations: 47.62 kB / 494.5 MB, free: 6.688 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1467, allocations: 79.31 kB / 494.6 MB, free: 6.609 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000302/0.147, allocations: 111.9 kB / 494.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004339/0.1475, allocations: 446.5 kB / 495.1 MB, free: 6.059 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000274/0.1478, allocations: 136.4 kB / 495.2 MB, free: 5.918 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.148, allocations: 155.4 kB / 495.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.1482, allocations: 191.1 kB / 495.6 MB, free: 5.578 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.987e-05/0.1483, allocations: 20 kB / 495.6 MB, free: 5.559 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.425e-05/0.1484, allocations: 20 kB / 495.6 MB, free: 5.539 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.868e-05/0.1484, allocations: 71.67 kB / 495.7 MB, free: 5.469 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.1486, allocations: 196.7 kB / 495.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004137/0.149, allocations: 434.2 kB / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1491, allocations: 0 / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.346e-06/0.1491, allocations: 0 / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1491, allocations: 3.938 kB / 496.3 MB, free: 4.84 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001264/0.1503, allocations: 0.6474 MB / 497 MB, free: 4.141 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.1504, allocations: 8.031 kB / 497 MB, free: 4.133 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.497e-05/0.1505, allocations: 44.47 kB / 497 MB, free: 4.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.1508, allocations: 291.3 kB / 497.3 MB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.1509, allocations: 25.38 kB / 497.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.338e-05/0.1509, allocations: 44.28 kB / 497.4 MB, free: 3.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006185/0.1515, allocations: 346.8 kB / 497.7 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.1516, allocations: 0 / 497.7 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.1516, allocations: 16 kB / 497.7 MB, free: 3.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.1516, allocations: 15.98 kB / 497.7 MB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005882/0.1522, allocations: 311.8 kB / 498 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002065/0.1543, allocations: 1.349 MB / 499.4 MB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.1548, allocations: 278.2 kB / 499.7 MB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.1551, allocations: 169.4 kB / 499.8 MB, free: 1.129 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.1551, allocations: 4.281 kB / 499.8 MB, free: 1.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.1552, allocations: 30.84 kB / 499.9 MB, free: 1.086 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 1.402e-06/0.1552, allocations: 0 / 499.9 MB, free: 1.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008088/0.156, allocations: 398.4 kB / 0.4885 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.156, allocations: 59.34 kB / 0.4886 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002622/0.1563, allocations: 258.7 kB / 0.4888 GB, free: 368 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.1563, allocations: 29.7 kB / 0.4888 GB, free: 332 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.1565, allocations: 203.9 kB / 0.489 GB, free: 124 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.2191/0.3756, allocations: 123.4 kB / 0.4892 GB, free: 43.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.942e-05/0.3757, allocations: 5.938 kB / 0.4892 GB, free: 43.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.3759, allocations: 337.1 kB / 0.4895 GB, free: 42.97 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.3762, allocations: 107.4 kB / 0.4896 GB, free: 42.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.3765, allocations: 176.2 kB / 0.4898 GB, free: 42.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000531/0.377, allocations: 303.4 kB / 0.49 GB, free: 42.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.377, allocations: 0 / 0.49 GB, free: 42.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006949/0.3777, allocations: 379.5 kB / 0.4904 GB, free: 42.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3778, allocations: 5.438 kB / 0.4904 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.3778, allocations: 2.344 kB / 0.4904 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3778, allocations: 4.297 kB / 0.4904 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004979/0.3783, allocations: 105.2 kB / 0.4905 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.3783, allocations: 8.438 kB / 0.4905 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.3786, allocations: 48.98 kB / 0.4906 GB, free: 42.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.3786, allocations: 15.81 kB / 0.4906 GB, free: 42.79 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.3788, allocations: 155.5 kB / 0.4907 GB, free: 42.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/0.3789, allocations: 28.91 kB / 0.4908 GB, free: 42.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006503/0.3795, allocations: 327.6 kB / 0.4911 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3795, allocations: 2.562 kB / 0.4911 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.3795, allocations: 5.625 kB / 0.4911 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3795, allocations: 1.547 kB / 0.4911 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005807/0.3801, allocations: 397.1 kB / 0.4915 GB, free: 42.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3802, allocations: 6 kB / 0.4915 GB, free: 42.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.3807, allocations: 85.42 kB / 0.4916 GB, free: 42.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.199e-06/0.3808, allocations: 1.156 kB / 0.4916 GB, free: 42.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.3808, allocations: 8.25 kB / 0.4916 GB, free: 42.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3808, allocations: 1.188 kB / 0.4916 GB, free: 42.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3808, allocations: 3.938 kB / 0.4916 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.3821, allocations: 0.5303 MB / 0.4921 GB, free: 42.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.3823, allocations: 130.2 kB / 0.4922 GB, free: 42.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.3823, allocations: 8.703 kB / 0.4922 GB, free: 42.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.3826, allocations: 17.94 kB / 0.4922 GB, free: 42.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.3827, allocations: 23.98 kB / 0.4923 GB, free: 42.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.3827, allocations: 9.625 kB / 0.4923 GB, free: 42.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002297/0.3829, allocations: 186.8 kB / 0.4924 GB, free: 42.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3829, allocations: 0 / 0.4924 GB, free: 42.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004192/0.3834, allocations: 96.09 kB / 0.4925 GB, free: 42.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * 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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001525/0.3835, allocations: 111.2 kB / 0.4926 GB, free: 41.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007753/0.3843, allocations: 281.9 kB / 0.4929 GB, free: 41.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.3843, allocations: 0 / 0.4929 GB, free: 41.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.3847, allocations: 145.2 kB / 0.4931 GB, free: 41.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.3853, allocations: 34.08 kB / 0.4931 GB, free: 41.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.3875, allocations: 0.9604 MB / 0.494 GB, free: 41.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.3879, allocations: 0.7885 MB / 0.4948 GB, free: 40.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002311/0.3882, allocations: 36.06 kB / 0.4948 GB, free: 40.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.3883, allocations: 27.73 kB / 0.4949 GB, free: 40.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3883, allocations: 0 / 0.4949 GB, free: 40.7 MB / 378.7 MB Notification: Performance of Templates: time 0.00637/0.3946, allocations: 2.44 MB / 0.4972 GB, free: 40.54 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches