Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001348, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 220.9 kB / 25.13 MB, free: 3.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.4 MB / 258.7 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2302/0.2302, allocations: 46.95 MB / 362.1 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") translateModel(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|position.s|hollowCylinderAxialFlux.F_m|cuboidParallelFlux.F_m|cuboidOrthogonalFlux.F_m|hollowCylinderRadialFlux.F_m|leakageAroundPoles.F_m",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002494/0.002494, allocations: 87.86 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3293, allocations: 66.07 MB / 0.5623 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004488/0.3338, allocations: 3.023 MB / 0.5653 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3355, allocations: 0.7865 MB / 0.566 GB, free: 444 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.3356, allocations: 11.94 kB / 0.5661 GB, free: 432 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000213/0.3359, allocations: 59.38 kB / 0.5661 GB, free: 372 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.3361, allocations: 103 kB / 0.5662 GB, free: 268 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.3365, allocations: 119.8 kB / 0.5663 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006222/0.3371, allocations: 470.6 kB / 0.5668 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002464/0.3374, allocations: 112.4 kB / 0.5669 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.3377, allocations: 195.3 kB / 0.5671 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.338, allocations: 211.1 kB / 0.5673 GB, free: 15.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/0.338, allocations: 36 kB / 0.5673 GB, free: 15.13 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.9e-05/0.3381, allocations: 44 kB / 0.5673 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.3382, allocations: 87.67 kB / 0.5674 GB, free: 15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.3384, allocations: 203 kB / 0.5676 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005346/0.3389, allocations: 480.8 kB / 0.5681 GB, free: 14.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3389, allocations: 0 / 0.5681 GB, free: 14.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3389, allocations: 0 / 0.5681 GB, free: 14.33 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.339, allocations: 0 / 0.5681 GB, free: 14.33 MB / 414.1 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.001566/0.3405, allocations: 0.6418 MB / 0.5687 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.3406, allocations: 8.031 kB / 0.5687 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.3408, allocations: 64.64 kB / 0.5688 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.3413, allocations: 230 kB / 0.569 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.3414, allocations: 33.38 kB / 0.569 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-05/0.3415, allocations: 36.38 kB / 0.5691 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007017/0.3422, allocations: 350.8 kB / 0.5694 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.3422, allocations: 7.938 kB / 0.5694 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.924e-05/0.3422, allocations: 16 kB / 0.5694 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.3422, allocations: 11.94 kB / 0.5694 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00064/0.3429, allocations: 303.8 kB / 0.5697 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.3453, allocations: 1.279 MB / 0.571 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005274/0.3459, allocations: 264.8 kB / 0.5712 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.3462, allocations: 137.4 kB / 0.5714 GB, free: 10.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.3462, allocations: 4.281 kB / 0.5714 GB, free: 10.8 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.3462, allocations: 34.84 kB / 0.5714 GB, free: 10.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.824e-06/0.3462, allocations: 4 kB / 0.5714 GB, free: 10.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0008641/0.3471, allocations: 375.5 kB / 0.5718 GB, free: 10.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.3471, allocations: 59.34 kB / 0.5718 GB, free: 10.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.3474, allocations: 261.8 kB / 0.5721 GB, free: 10.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.3475, allocations: 33.7 kB / 0.5721 GB, free: 10.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.3476, allocations: 208.3 kB / 0.5723 GB, free: 9.809 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.3478, allocations: 123 kB / 0.5724 GB, free: 9.688 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.3479, allocations: 74.08 kB / 0.5725 GB, free: 9.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002827/0.3482, allocations: 338.8 kB / 0.5728 GB, free: 9.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.3484, allocations: 108.8 kB / 0.5729 GB, free: 9.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/0.3487, allocations: 171.5 kB / 0.5731 GB, free: 8.973 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005603/0.3493, allocations: 288.6 kB / 0.5733 GB, free: 8.668 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3493, allocations: 4 kB / 0.5733 GB, free: 8.664 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008165/0.3501, allocations: 374.3 kB / 0.5737 GB, free: 8.293 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.3501, allocations: 8 kB / 0.5737 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3501, allocations: 0 / 0.5737 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.3501, allocations: 4 kB / 0.5737 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/0.3506, allocations: 104.1 kB / 0.5738 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3506, allocations: 11.98 kB / 0.5738 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.351, allocations: 43.66 kB / 0.5739 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.351, allocations: 16 kB / 0.5739 GB, free: 8.109 MB / 414.1 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.0001742/0.3512, allocations: 149.7 kB / 0.574 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.3512, allocations: 31.81 kB / 0.5741 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007212/0.352, allocations: 321.2 kB / 0.5744 GB, free: 7.602 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.352, allocations: 4 kB / 0.5744 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.352, allocations: 0 / 0.5744 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.352, allocations: 3.984 kB / 0.5744 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.3525, allocations: 384.1 kB / 0.5747 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3525, allocations: 0 / 0.5747 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.3529, allocations: 83.88 kB / 0.5748 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.3529, allocations: 8 kB / 0.5748 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.3529, allocations: 4 kB / 0.5748 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.3529, allocations: 3.984 kB / 0.5748 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3529, allocations: 7.938 kB / 0.5748 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/0.3538, allocations: 0.5185 MB / 0.5753 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.3539, allocations: 51.75 kB / 0.5754 GB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.354, allocations: 4 kB / 0.5754 GB, free: 6.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.3542, allocations: 15.98 kB / 0.5754 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.3542, allocations: 20.03 kB / 0.5754 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.3543, allocations: 15.92 kB / 0.5754 GB, free: 6.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.3545, allocations: 189.2 kB / 0.5756 GB, free: 6.242 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3545, allocations: 0 / 0.5756 GB, free: 6.242 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00035/0.3548, allocations: 91.84 kB / 0.5757 GB, free: 6.152 MB / 414.1 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.0001394/0.355, allocations: 103.2 kB / 0.5758 GB, free: 6.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005863/0.3555, allocations: 263.6 kB / 0.5761 GB, free: 5.785 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3555, allocations: 0 / 0.5761 GB, free: 5.785 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.3558, allocations: 123.8 kB / 0.5762 GB, free: 5.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.3561, allocations: 34.92 kB / 0.5762 GB, free: 5.633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.3576, allocations: 0.7574 MB / 0.577 GB, free: 4.848 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005935/0.3582, allocations: 0.7876 MB / 0.5777 GB, free: 4.035 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001572/0.3584, allocations: 34.95 kB / 0.5778 GB, free: 4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.473e-05/0.3584, allocations: 27.42 kB / 0.5778 GB, free: 3.973 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3584, allocations: 0 / 0.5778 GB, free: 3.973 MB / 414.1 MB Notification: Performance of Templates: time 0.007424/0.3659, allocations: 2.921 MB / 0.5806 GB, free: 1.066 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.510083613917232]