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/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.00135/0.00135, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 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.001601/0.001601, allocations: 208.1 kB / 23.73 MB, free: 4.391 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.478/1.478, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2368/0.2368, allocations: 46.94 MB / 360.8 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 79.86 kB / 0.4961 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.344, allocations: 66.1 MB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Shapes.Force): time 0.004397/0.3484, allocations: 2.783 MB / 0.5634 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.3501, allocations: 0.7556 MB / 0.5642 GB, free: 500 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.3502, allocations: 7.938 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.3505, allocations: 63.38 kB / 0.5642 GB, free: 428 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.3507, allocations: 99.11 kB / 0.5643 GB, free: 328 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.3511, allocations: 123.8 kB / 0.5644 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005765/0.3516, allocations: 458.7 kB / 0.5649 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002565/0.3519, allocations: 116.4 kB / 0.565 GB, free: 15.62 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003364/0.3522, allocations: 187.4 kB / 0.5652 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002872/0.3525, allocations: 183.1 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.204e-05/0.3526, allocations: 36 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.3527, allocations: 51.94 kB / 0.5654 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.3528, allocations: 83.73 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001941/0.353, allocations: 175.2 kB / 0.5657 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005989/0.3536, allocations: 478 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3536, allocations: 0 / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3536, allocations: 0 / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.3536, allocations: 0 / 0.5661 GB, free: 14.45 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.001455/0.3551, allocations: 0.6379 MB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3551, allocations: 8.031 kB / 0.5668 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.779e-05/0.3552, allocations: 74.72 kB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/0.3554, allocations: 72.58 kB / 0.5669 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004878/0.3559, allocations: 230 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.459e-05/0.356, allocations: 29.38 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.33e-05/0.356, allocations: 40.38 kB / 0.5672 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006825/0.3567, allocations: 346.6 kB / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.3567, allocations: 0 / 0.5675 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.3568, allocations: 20 kB / 0.5675 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.3568, allocations: 8 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006894/0.3575, allocations: 307.8 kB / 0.5678 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/0.3598, allocations: 1.209 MB / 0.569 GB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.3603, allocations: 253.3 kB / 0.5693 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.3606, allocations: 145.2 kB / 0.5694 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.3607, allocations: 8.281 kB / 0.5694 GB, free: 10.92 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3607, allocations: 34.84 kB / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=34): time 1.483e-06/0.3607, allocations: 0 / 0.5694 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.0009165/0.3616, allocations: 375.6 kB / 0.5698 GB, free: 10.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.3617, allocations: 59.34 kB / 0.5698 GB, free: 10.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.362, allocations: 261.8 kB / 0.5701 GB, free: 10.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.362, allocations: 37.7 kB / 0.5701 GB, free: 10.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.3622, allocations: 204.3 kB / 0.5703 GB, free: 9.926 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.3623, allocations: 134.9 kB / 0.5705 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.3624, allocations: 74.12 kB / 0.5705 GB, free: 9.715 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001858/0.3626, allocations: 342.8 kB / 0.5709 GB, free: 9.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.3629, allocations: 100.8 kB / 0.571 GB, free: 9.273 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.3632, allocations: 171.5 kB / 0.5711 GB, free: 9.082 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.3637, allocations: 292.6 kB / 0.5714 GB, free: 8.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.3638, allocations: 3.938 kB / 0.5714 GB, free: 8.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007139/0.3645, allocations: 370.6 kB / 0.5718 GB, free: 8.402 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3645, allocations: 12 kB / 0.5718 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3645, allocations: 0 / 0.5718 GB, free: 8.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.3645, allocations: 4 kB / 0.5718 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005206/0.365, allocations: 107.8 kB / 0.5719 GB, free: 8.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.365, allocations: 4 kB / 0.5719 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.3653, allocations: 43.66 kB / 0.5719 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.3654, allocations: 16 kB / 0.5719 GB, free: 8.219 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.0001811/0.3655, allocations: 149.7 kB / 0.5721 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.145e-05/0.3656, allocations: 35.81 kB / 0.5721 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007043/0.3663, allocations: 321.2 kB / 0.5724 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.3663, allocations: 4 kB / 0.5724 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.3663, allocations: 0 / 0.5724 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3663, allocations: 3.984 kB / 0.5724 GB, free: 7.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004654/0.3668, allocations: 332.4 kB / 0.5727 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3668, allocations: 0 / 0.5727 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/0.3672, allocations: 83.88 kB / 0.5728 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.3672, allocations: 8 kB / 0.5728 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.3672, allocations: 4 kB / 0.5728 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3673, allocations: 0 / 0.5728 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3673, allocations: 4 kB / 0.5728 GB, free: 7.234 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008905/0.3681, allocations: 0.5146 MB / 0.5733 GB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.3683, allocations: 59.69 kB / 0.5734 GB, free: 6.645 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.3683, allocations: 8 kB / 0.5734 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.3686, allocations: 11.98 kB / 0.5734 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.3686, allocations: 28.02 kB / 0.5734 GB, free: 6.598 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.3686, allocations: 7.938 kB / 0.5734 GB, free: 6.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.3688, allocations: 193.2 kB / 0.5736 GB, free: 6.398 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3688, allocations: 0 / 0.5736 GB, free: 6.398 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003576/0.3692, allocations: 95.78 kB / 0.5737 GB, free: 6.305 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.001193/0.3704, allocations: 1.052 MB / 0.5747 GB, free: 5.227 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005939/0.371, allocations: 263.7 kB / 0.575 GB, free: 4.969 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.371, allocations: 0 / 0.575 GB, free: 4.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.3713, allocations: 127.8 kB / 0.5751 GB, free: 4.844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.3716, allocations: 28.44 kB / 0.5751 GB, free: 4.816 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004509/0.3761, allocations: 3.149 MB / 0.5782 GB, free: 1.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.3763, allocations: 185.3 kB / 0.5784 GB, free: 1.344 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.3765, allocations: 34.95 kB / 0.5784 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001992/0.3767, allocations: 115.4 kB / 0.5785 GB, free: 1.199 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3767, allocations: 0 / 0.5785 GB, free: 1.199 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03921/0.4159, allocations: 6.403 MB / 0.5848 GB, free: 10.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.62, allocations: 7.031 kB / 0.5848 GB, free: 10.91 MB / 430.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Magnetic_FluxTubes_Shapes_Force.fmu > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 14.524377521127462]