Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.219/1.219, allocations: 205.2 MB / 218.9 MB, free: 9.129 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.0007667/0.0007666, allocations: 90.55 kB / 267 MB, free: 9.258 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.3132/0.3132, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.39e-05, allocations: 0 / 425.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09544/0.09548, allocations: 58.85 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3051/0.4006, allocations: 89.92 MB / 0.5606 GB, free: 14.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001665/0.4009, allocations: 70 kB / 0.5607 GB, free: 14.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01282/0.4137, allocations: 5.619 MB / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4137, allocations: 0 / 0.5662 GB, free: 10.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.4137, allocations: 8 kB / 0.5662 GB, free: 10.87 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000762/0.4145, allocations: 0.5922 MB / 0.5668 GB, free: 10.26 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.4146, allocations: 16.02 kB / 0.5668 GB, free: 10.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.519e-05/0.4146, allocations: 39.53 kB / 0.5668 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.4149, allocations: 280.4 kB / 0.5671 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.4149, allocations: 27.97 kB / 0.5671 GB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.415, allocations: 37.5 kB / 0.5671 GB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004499/0.4155, allocations: 319.3 kB / 0.5674 GB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.4155, allocations: 0 / 0.5674 GB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.4155, allocations: 19.36 kB / 0.5675 GB, free: 9.652 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.4155, allocations: 10.81 kB / 0.5675 GB, free: 9.645 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003817/0.4159, allocations: 264.3 kB / 0.5677 GB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.4175, allocations: 1.371 MB / 0.5691 GB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003357/0.4179, allocations: 257.7 kB / 0.5693 GB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.4181, allocations: 143.9 kB / 0.5694 GB, free: 8.008 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.4181, allocations: 4.281 kB / 0.5694 GB, free: 8.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.4181, allocations: 37.28 kB / 0.5695 GB, free: 7.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 1.323e-06/0.4181, allocations: 4 kB / 0.5695 GB, free: 7.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003898/0.4185, allocations: 262.3 kB / 0.5697 GB, free: 7.758 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.4186, allocations: 51.41 kB / 0.5698 GB, free: 7.695 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.4187, allocations: 234.6 kB / 0.57 GB, free: 7.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.4188, allocations: 36.39 kB / 0.57 GB, free: 7.465 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.476e-05/0.4188, allocations: 206.2 kB / 0.5702 GB, free: 7.293 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.4189, allocations: 119.1 kB / 0.5704 GB, free: 7.191 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/0.4189, allocations: 6.5 kB / 0.5704 GB, free: 7.191 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.81e-05/0.419, allocations: 344.5 kB / 0.5707 GB, free: 6.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.4191, allocations: 88 kB / 0.5708 GB, free: 6.805 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.4193, allocations: 159 kB / 0.5709 GB, free: 6.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.4194, allocations: 112.3 kB / 0.571 GB, free: 6.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.4194, allocations: 0 / 0.571 GB, free: 6.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003956/0.4198, allocations: 333.2 kB / 0.5713 GB, free: 6.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4199, allocations: 4 kB / 0.5714 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.4199, allocations: 4.219 kB / 0.5714 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.4199, allocations: 8 kB / 0.5714 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.4203, allocations: 99.44 kB / 0.5715 GB, free: 6.227 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.4203, allocations: 7.984 kB / 0.5715 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.4206, allocations: 45.53 kB / 0.5715 GB, free: 6.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.4206, allocations: 15.36 kB / 0.5715 GB, free: 6.168 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/0.4207, allocations: 135 kB / 0.5717 GB, free: 6.043 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.4207, allocations: 31.62 kB / 0.5717 GB, free: 6.012 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.4211, allocations: 297.4 kB / 0.572 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4212, allocations: 4 kB / 0.572 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.4212, allocations: 0 / 0.572 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4212, allocations: 3.984 kB / 0.572 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.4215, allocations: 409.7 kB / 0.5724 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4215, allocations: 0 / 0.5724 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.4219, allocations: 87.38 kB / 0.5725 GB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.4219, allocations: 4 kB / 0.5725 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.4219, allocations: 7.875 kB / 0.5725 GB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4219, allocations: 9.422 kB / 0.5725 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4219, allocations: 0 / 0.5725 GB, free: 5.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.4224, allocations: 485.8 kB / 0.5729 GB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.4225, allocations: 132.4 kB / 0.5731 GB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.4225, allocations: 7.938 kB / 0.5731 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.4228, allocations: 23.98 kB / 0.5731 GB, free: 4.805 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.4228, allocations: 23.7 kB / 0.5731 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.4228, allocations: 8 kB / 0.5731 GB, free: 4.777 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001207/0.423, allocations: 185.8 kB / 0.5733 GB, free: 4.629 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.423, allocations: 0 / 0.5733 GB, free: 4.629 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002888/0.4233, allocations: 94.75 kB / 0.5734 GB, free: 4.547 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001058/0.4234, allocations: 110.8 kB / 0.5735 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003372/0.4237, allocations: 247.4 kB / 0.5737 GB, free: 4.258 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4237, allocations: 4 kB / 0.5737 GB, free: 4.254 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.4239, allocations: 120.7 kB / 0.5738 GB, free: 4.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.4241, allocations: 32.28 kB / 0.5739 GB, free: 4.152 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008897/0.425, allocations: 0.5366 MB / 0.5744 GB, free: 3.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.4252, allocations: 0.7952 MB / 0.5752 GB, free: 2.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001821/0.4254, allocations: 34.95 kB / 0.5752 GB, free: 2.785 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.4255, allocations: 30.48 kB / 0.5752 GB, free: 2.758 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4255, allocations: 0 / 0.5752 GB, free: 2.758 MB / 394.7 MB Notification: Performance of Templates: time 0.004264/0.4297, allocations: 2.352 MB / 0.5775 GB, free: 448 kB / 394.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