Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 112.6 kB / 17.07 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 195 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 55.91 kB / 350.8 MB, free: 3.758 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2914, allocations: 49.43 MB / 400.2 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008236/0.2996, allocations: 6.418 MB / 406.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00426/0.3039, allocations: 2.185 MB / 408.8 MB, free: 196 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.3051, allocations: 19.94 kB / 408.8 MB, free: 176 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009139/0.306, allocations: 353.8 kB / 409.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.3076, allocations: 0.4889 MB / 409.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009981/0.3086, allocations: 453.2 kB / 410.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001822/0.3104, allocations: 1.546 MB / 411.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007162/0.3112, allocations: 0.5092 MB / 412.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007967/0.312, allocations: 0.5762 MB / 412.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007716/0.3128, allocations: 0.6615 MB / 413.4 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.313, allocations: 160 kB / 413.6 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.3133, allocations: 188 kB / 413.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002708/0.3136, allocations: 330.9 kB / 414.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006114/0.3142, allocations: 0.6611 MB / 414.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001993/0.3162, allocations: 1.941 MB / 416.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3162, allocations: 0 / 416.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3162, allocations: 4 kB / 416.7 MB, free: 8.285 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.387e-05/0.3163, allocations: 0 / 416.7 MB, free: 8.285 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003176/0.3194, allocations: 1.568 MB / 418.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.3195, allocations: 16.03 kB / 418.3 MB, free: 6.648 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/0.3197, allocations: 144.2 kB / 418.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.3199, allocations: 144.1 kB / 418.5 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.3211, allocations: 0.7168 MB / 419.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.77e-05/0.3212, allocations: 74.38 kB / 419.3 MB, free: 5.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.3213, allocations: 103.9 kB / 419.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.3232, allocations: 1.013 MB / 420.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.032e-05/0.3233, allocations: 0 / 420.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.693e-05/0.3234, allocations: 40 kB / 420.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.3234, allocations: 28 kB / 420.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.3254, allocations: 0.8835 MB / 421.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005093/0.3305, allocations: 3.626 MB / 425 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/0.3334, allocations: 0.9011 MB / 425.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007807/0.3342, allocations: 378 kB / 426.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/0.3343, allocations: 4 kB / 426.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.3343, allocations: 46.42 kB / 426.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.015e-06/0.3343, allocations: 0 / 426.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.004928/0.3393, allocations: 1.806 MB / 428.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.3394, allocations: 85.11 kB / 428.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.3406, allocations: 0.978 MB / 429.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.049e-05/0.3407, allocations: 41.7 kB / 429.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.3411, allocations: 0.5312 MB / 429.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.3412, allocations: 245.9 kB / 430 MB, free: 10.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.3415, allocations: 158.5 kB / 430.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3416, allocations: 345.9 kB / 430.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008552/0.3425, allocations: 341.7 kB / 430.9 MB, free: 9.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009908/0.3435, allocations: 0.5222 MB / 431.4 MB, free: 9.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001736/0.3452, allocations: 0.8251 MB / 432.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3453, allocations: 0 / 432.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002322/0.3476, allocations: 1.022 MB / 433.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.3476, allocations: 8 kB / 433.2 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.3476, allocations: 8 kB / 433.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.3477, allocations: 8 kB / 433.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.3489, allocations: 291.5 kB / 433.5 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.3489, allocations: 8 kB / 433.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007979/0.3497, allocations: 67.92 kB / 433.6 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-05/0.3498, allocations: 43.97 kB / 433.6 MB, free: 6.781 MB / 350.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 (108): * Single equations (assignments): 108 * 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.000466/0.3502, allocations: 285.6 kB / 433.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/0.3504, allocations: 107.3 kB / 434 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009579/0.3514, allocations: 383.8 kB / 434.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.3514, allocations: 8 kB / 434.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.3514, allocations: 0 / 434.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.3514, allocations: 7.984 kB / 434.4 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003731/0.3552, allocations: 2.295 MB / 436.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.3552, allocations: 8 kB / 436.7 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008249/0.356, allocations: 208.5 kB / 436.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.395e-05/0.3561, allocations: 12 kB / 436.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.3561, allocations: 27.92 kB / 437 MB, free: 3.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.3561, allocations: 11.94 kB / 437 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.3561, allocations: 11.94 kB / 437 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001594/0.3577, allocations: 1.034 MB / 438 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.358, allocations: 192.4 kB / 438.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.3581, allocations: 23.98 kB / 438.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006012/0.3587, allocations: 55.83 kB / 438.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.3588, allocations: 59.81 kB / 438.4 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.3589, allocations: 35.98 kB / 438.4 MB, free: 1.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008707/0.3598, allocations: 0.6708 MB / 439.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3598, allocations: 0 / 439.1 MB, free: 1.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008213/0.3606, allocations: 208 kB / 439.3 MB, free: 0.8867 MB / 350.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.00277/0.3634, allocations: 1.865 MB / 441.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.3652, allocations: 0.7685 MB / 441.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.3652, allocations: 4 kB / 441.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007769/0.366, allocations: 365.8 kB / 442.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.3672, allocations: 197.7 kB / 442.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.3799, allocations: 8.432 MB / 450.9 MB, free: 4.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/0.3806, allocations: 1.022 MB / 451.9 MB, free: 3.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005714/0.3812, allocations: 127.2 kB / 452 MB, free: 3.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/0.3817, allocations: 387.3 kB / 452.4 MB, free: 3.312 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3817, allocations: 0 / 452.4 MB, free: 3.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04093/0.4227, allocations: 20.05 MB / 472.5 MB, free: 15.54 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.296/9.719, allocations: 11.03 kB / 472.5 MB, free: 15.53 MB / 398.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv --start-time 0 --stop-time 6 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0024 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv","/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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches