Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008071/0.0008072, allocations: 98.61 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009566/0.0009566, allocations: 206 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.22/1.22, allocations: 227.7 MB / 246.8 MB, free: 9.703 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001888/0.0001888, allocations: 7.984 kB / 307.8 MB, free: 0.5039 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07846/0.07866, allocations: 51.53 MB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006105/0.0848, allocations: 6.055 MB / 365.4 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.08849, allocations: 2.33 MB / 367.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000696/0.08921, allocations: 16 kB / 367.8 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.08992, allocations: 314.5 kB / 368.1 MB, free: 4.23 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001114/0.09105, allocations: 473.3 kB / 368.5 MB, free: 3.766 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008233/0.09188, allocations: 415 kB / 368.9 MB, free: 3.363 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.09318, allocations: 1.463 MB / 370.4 MB, free: 1.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005274/0.09372, allocations: 447.5 kB / 370.8 MB, free: 1.438 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004955/0.09422, allocations: 485.9 kB / 371.3 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005976/0.09483, allocations: 0.5755 MB / 371.9 MB, free: 392 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.09494, allocations: 64 kB / 371.9 MB, free: 328 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.09513, allocations: 95.98 kB / 372 MB, free: 232 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.09532, allocations: 223 kB / 372.3 MB, free: 8 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1529/0.2482, allocations: 0.5915 MB / 372.9 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001793/0.2501, allocations: 1.839 MB / 374.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2501, allocations: 0.5312 kB / 374.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2501, allocations: 0 / 374.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.123e-05/0.2501, allocations: 1.5 kB / 374.7 MB, free: 10.34 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002356/0.2525, allocations: 1.347 MB / 376 MB, free: 9.578 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2525, allocations: 9.688 kB / 376.1 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001964/0.2527, allocations: 151.7 kB / 376.2 MB, free: 9.539 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004753/0.2532, allocations: 163.8 kB / 376.4 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.2542, allocations: 0.7305 MB / 377.1 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.2544, allocations: 82.02 kB / 377.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.2545, allocations: 95.17 kB / 377.3 MB, free: 9.129 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.2562, allocations: 0.9978 MB / 378.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.2563, allocations: 1.312 kB / 378.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.786e-05/0.2564, allocations: 40.33 kB / 378.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.2564, allocations: 24.06 kB / 378.3 MB, free: 9.051 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.258, allocations: 0.8519 MB / 379.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004756/0.2628, allocations: 3.689 MB / 382.9 MB, free: 7.824 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.2647, allocations: 0.7007 MB / 383.6 MB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005569/0.2652, allocations: 339.7 kB / 383.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.2653, allocations: 12.83 kB / 383.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.2653, allocations: 38.25 kB / 383.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.675e-06/0.2653, allocations: 0 / 383.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.00397/0.2693, allocations: 1.779 MB / 385.7 MB, free: 6.664 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.2693, allocations: 84.33 kB / 385.8 MB, free: 6.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.2706, allocations: 1.051 MB / 386.9 MB, free: 6.121 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.2707, allocations: 37.67 kB / 386.9 MB, free: 6.082 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/0.271, allocations: 0.5445 MB / 387.4 MB, free: 5.645 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.2711, allocations: 230.2 kB / 387.7 MB, free: 5.469 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.2713, allocations: 74.38 kB / 387.7 MB, free: 5.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.185e-05/0.2713, allocations: 336.4 kB / 388.1 MB, free: 5.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007565/0.2721, allocations: 335.8 kB / 388.4 MB, free: 5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008567/0.273, allocations: 0.5137 MB / 388.9 MB, free: 4.668 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.2745, allocations: 0.8326 MB / 389.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.2745, allocations: 1.281 kB / 389.7 MB, free: 4.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00197/0.2765, allocations: 1.011 MB / 390.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.2765, allocations: 6.969 kB / 390.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2765, allocations: 12.72 kB / 390.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.2765, allocations: 10.09 kB / 390.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.2777, allocations: 303.9 kB / 391.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.2777, allocations: 12.44 kB / 391.1 MB, free: 3.699 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007308/0.2784, allocations: 64.98 kB / 391.2 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-05/0.2785, allocations: 39.8 kB / 391.2 MB, free: 3.66 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0003602/0.2789, allocations: 297.9 kB / 391.5 MB, free: 3.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.279, allocations: 108.3 kB / 391.6 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007554/0.2798, allocations: 374.9 kB / 392 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.2798, allocations: 6.781 kB / 392 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.2798, allocations: 5.172 kB / 392 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.2798, allocations: 1.219 kB / 392 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00323/0.2831, allocations: 2.337 MB / 394.3 MB, free: 1.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.2831, allocations: 13.72 kB / 394.3 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008047/0.2839, allocations: 233.2 kB / 394.5 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.2839, allocations: 13.62 kB / 394.6 MB, free: 1.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/0.284, allocations: 19 kB / 394.6 MB, free: 1.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.284, allocations: 16.14 kB / 394.6 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.284, allocations: 10.88 kB / 394.6 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.2854, allocations: 1.062 MB / 395.7 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.2856, allocations: 206.7 kB / 395.9 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.2857, allocations: 18.5 kB / 395.9 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/0.2863, allocations: 65.92 kB / 396 MB, free: 420 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.494e-05/0.2864, allocations: 62.94 kB / 396 MB, free: 388 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.2865, allocations: 29.39 kB / 396 MB, free: 380 kB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008595/0.2873, allocations: 0.7184 MB / 396.8 MB, free: 15.97 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2874, allocations: 0 / 396.8 MB, free: 15.97 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007387/0.2881, allocations: 217.8 kB / 397 MB, free: 15.95 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 simulation (67): * Single equations (assignments): 67 * 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.002535/0.2906, allocations: 1.89 MB / 398.9 MB, free: 14.54 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.2921, allocations: 0.7595 MB / 399.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2921, allocations: 1.062 kB / 399.6 MB, free: 14.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007134/0.2928, allocations: 385.9 kB / 400 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.2948, allocations: 275.9 kB / 400.3 MB, free: 13.95 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/0.3088, allocations: 9.672 MB / 409.9 MB, free: 4.703 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/0.3093, allocations: 1.035 MB / 411 MB, free: 3.637 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005553/0.3099, allocations: 131.5 kB / 411.1 MB, free: 3.504 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005281/0.3104, allocations: 419.2 kB / 411.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3104, allocations: 0 / 411.5 MB, free: 3.094 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0388/0.3493, allocations: 22.73 MB / 434.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/0.3496, allocations: 277.1 kB / 434.5 MB, free: 12.28 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.195/2.544, allocations: 3.25 kB / 434.5 MB, free: 12.28 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches