Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001325/0.001325, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.186/1.186, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008329/0.0008327, allocations: 89.64 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1637/0.1637, allocations: 45.15 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.079e-05, allocations: 4 kB / 460.4 MB, free: 70 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08861/0.08864, allocations: 63.25 MB / 0.5114 GB, free: 6.773 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3186/0.4073, allocations: 92.88 MB / 0.6021 GB, free: 1.039 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.4075, allocations: 77.27 kB / 0.6021 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01502/0.4225, allocations: 5.861 MB / 0.6079 GB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4226, allocations: 0 / 0.6079 GB, free: 11.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.377e-05/0.4226, allocations: 11.98 kB / 0.6079 GB, free: 11.95 MB / 410.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.0009569/0.4236, allocations: 0.6064 MB / 0.6085 GB, free: 11.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.4236, allocations: 11.97 kB / 0.6085 GB, free: 11.31 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002602/0.4239, allocations: 63.72 kB / 0.6085 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.4242, allocations: 281.1 kB / 0.6088 GB, free: 10.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.4243, allocations: 28.34 kB / 0.6088 GB, free: 10.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.925e-05/0.4243, allocations: 38 kB / 0.6089 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.4249, allocations: 314 kB / 0.6092 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.4249, allocations: 0 / 0.6092 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.4249, allocations: 14.62 kB / 0.6092 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.4249, allocations: 16 kB / 0.6092 GB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004344/0.4254, allocations: 265.2 kB / 0.6095 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.4273, allocations: 1.352 MB / 0.6108 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.4277, allocations: 253 kB / 0.611 GB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.4279, allocations: 150 kB / 0.6112 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.428, allocations: 8.281 kB / 0.6112 GB, free: 9.055 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.428, allocations: 34.84 kB / 0.6112 GB, free: 9.012 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.428, allocations: 0 / 0.6112 GB, free: 9.012 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004425/0.4285, allocations: 254 kB / 0.6114 GB, free: 8.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.4285, allocations: 55.41 kB / 0.6115 GB, free: 8.754 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.4287, allocations: 234.2 kB / 0.6117 GB, free: 8.562 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.4287, allocations: 29.33 kB / 0.6118 GB, free: 8.531 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.763e-05/0.4289, allocations: 207 kB / 0.6119 GB, free: 8.359 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.671e-05/0.4289, allocations: 125 kB / 0.6121 GB, free: 8.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.545e-05/0.429, allocations: 7.5 kB / 0.6121 GB, free: 8.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4291, allocations: 341.4 kB / 0.6124 GB, free: 7.918 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001516/0.4292, allocations: 89.05 kB / 0.6125 GB, free: 7.863 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.4294, allocations: 157.1 kB / 0.6126 GB, free: 7.719 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.4296, allocations: 109.5 kB / 0.6127 GB, free: 7.648 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4296, allocations: 0 / 0.6127 GB, free: 7.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004582/0.4301, allocations: 336.3 kB / 0.6131 GB, free: 7.391 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.4301, allocations: 13.34 kB / 0.6131 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4301, allocations: 0 / 0.6131 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4301, allocations: 4 kB / 0.6131 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.4306, allocations: 109.6 kB / 0.6132 GB, free: 7.273 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.4306, allocations: 4 kB / 0.6132 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.4309, allocations: 42.33 kB / 0.6132 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.4309, allocations: 19.62 kB / 0.6132 GB, free: 7.219 MB / 410.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 8.193e-05/0.431, allocations: 129.9 kB / 0.6134 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.939e-05/0.4311, allocations: 31.62 kB / 0.6134 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/0.4315, allocations: 302.1 kB / 0.6137 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4315, allocations: 7.984 kB / 0.6137 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4316, allocations: 0 / 0.6137 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.4316, allocations: 3.984 kB / 0.6137 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.432, allocations: 400.7 kB / 0.6141 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.432, allocations: 4 kB / 0.6141 GB, free: 6.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003857/0.4324, allocations: 87.81 kB / 0.6142 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4324, allocations: 4 kB / 0.6142 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.355e-05/0.4324, allocations: 9.672 kB / 0.6142 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4324, allocations: 0 / 0.6142 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4324, allocations: 4 kB / 0.6142 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/0.433, allocations: 492.8 kB / 0.6147 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.4331, allocations: 126.5 kB / 0.6148 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.4332, allocations: 3.438 kB / 0.6148 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.4334, allocations: 18.86 kB / 0.6148 GB, free: 5.848 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.4335, allocations: 19.97 kB / 0.6148 GB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.4335, allocations: 7.125 kB / 0.6148 GB, free: 5.824 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001489/0.4336, allocations: 186.9 kB / 0.615 GB, free: 5.672 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4337, allocations: 0 / 0.615 GB, free: 5.672 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.434, allocations: 98.27 kB / 0.6151 GB, free: 5.586 MB / 410.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.0001157/0.4341, allocations: 117.9 kB / 0.6152 GB, free: 5.469 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003814/0.4345, allocations: 244.3 kB / 0.6154 GB, free: 5.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4345, allocations: 0 / 0.6154 GB, free: 5.297 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.4347, allocations: 121 kB / 0.6156 GB, free: 5.211 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.4349, allocations: 32.66 kB / 0.6156 GB, free: 5.195 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009947/0.4359, allocations: 0.5392 MB / 0.6161 GB, free: 4.684 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.4362, allocations: 0.7951 MB / 0.6169 GB, free: 3.859 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001925/0.4364, allocations: 42.88 kB / 0.6169 GB, free: 3.816 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/0.4365, allocations: 27.44 kB / 0.617 GB, free: 3.789 MB / 410.7 MB Notification: Performance of SimCode: time 3.2e-07/0.4365, allocations: 0 / 0.617 GB, free: 3.789 MB / 410.7 MB Notification: Performance of Templates: time 0.005741/0.4422, allocations: 2.373 MB / 0.6193 GB, free: 1.449 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches