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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001894/0.001894, allocations: 213.6 kB / 23.73 MB, free: 4.164 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.595/1.595, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 55.91 kB / 377.7 MB, free: 2.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2432, allocations: 53.41 MB / 431.1 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008229/0.2515, allocations: 5.814 MB / 437 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004315/0.2558, allocations: 2.291 MB / 439.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006935/0.2565, allocations: 19.94 kB / 439.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008555/0.2573, allocations: 361.7 kB / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.2587, allocations: 0.5394 MB / 440.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009784/0.2597, allocations: 463.2 kB / 440.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00171/0.2614, allocations: 1.561 MB / 442.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005631/0.262, allocations: 330 kB / 442.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008188/0.2628, allocations: 0.6112 MB / 443.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007849/0.2636, allocations: 0.6028 MB / 443.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001992/0.2638, allocations: 167.9 kB / 443.9 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.2641, allocations: 200 kB / 444.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002941/0.2644, allocations: 327 kB / 444.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005494/0.2649, allocations: 0.5522 MB / 444.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.2669, allocations: 2 MB / 446.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2669, allocations: 0 / 446.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2669, allocations: 0 / 446.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.267, allocations: 0 / 446.9 MB, free: 6.574 MB / 350.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.002945/0.2699, allocations: 1.497 MB / 448.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2699, allocations: 11.98 kB / 448.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/0.2701, allocations: 148.3 kB / 448.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005733/0.2707, allocations: 168.1 kB / 448.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.272, allocations: 0.6778 MB / 449.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.067e-05/0.2721, allocations: 74 kB / 449.5 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.2722, allocations: 99.98 kB / 449.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.2742, allocations: 1.032 MB / 450.6 MB, free: 2.781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/0.2742, allocations: 4 kB / 450.6 MB, free: 2.777 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-05/0.2743, allocations: 43.94 kB / 450.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.423e-05/0.2743, allocations: 24 kB / 450.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001825/0.2762, allocations: 0.8133 MB / 451.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005514/0.2817, allocations: 3.053 MB / 454.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.2837, allocations: 0.5817 MB / 455.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006257/0.2843, allocations: 307.5 kB / 455.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.2844, allocations: 11.98 kB / 455.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.2844, allocations: 42.94 kB / 455.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.875e-06/0.2844, allocations: 3.938 kB / 455.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.00441/0.2888, allocations: 1.685 MB / 457.2 MB, free: 12.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/0.2889, allocations: 81.11 kB / 457.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.2904, allocations: 1.065 MB / 458.3 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.2905, allocations: 33.7 kB / 458.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004623/0.2909, allocations: 0.5623 MB / 458.9 MB, free: 10.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.2911, allocations: 242 kB / 459.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/0.2914, allocations: 162.6 kB / 459.3 MB, free: 9.871 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.2916, allocations: 337.9 kB / 459.7 MB, free: 9.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007748/0.2924, allocations: 313.8 kB / 460 MB, free: 9.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009358/0.2933, allocations: 499.1 kB / 460.5 MB, free: 8.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.2949, allocations: 0.7824 MB / 461.2 MB, free: 7.812 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.2949, allocations: 4 kB / 461.2 MB, free: 7.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00213/0.2971, allocations: 0.9633 MB / 462.2 MB, free: 6.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.2971, allocations: 12.03 kB / 462.2 MB, free: 6.828 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.2971, allocations: 4 kB / 462.2 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.2971, allocations: 15.94 kB / 462.2 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.2984, allocations: 271.6 kB / 462.5 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.044e-05/0.2984, allocations: 19.92 kB / 462.5 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008079/0.2992, allocations: 51.95 kB / 462.6 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.729e-05/0.2993, allocations: 39.98 kB / 462.6 MB, free: 6.434 MB / 366.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.0004665/0.2997, allocations: 285.5 kB / 462.9 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.2999, allocations: 115.3 kB / 463 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008273/0.3008, allocations: 350.7 kB / 463.3 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.3008, allocations: 8 kB / 463.3 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3008, allocations: 0 / 463.3 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.3008, allocations: 3.984 kB / 463.4 MB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003897/0.3047, allocations: 2.109 MB / 465.5 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.3047, allocations: 8 kB / 465.5 MB, free: 3.418 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008944/0.3056, allocations: 204.3 kB / 465.7 MB, free: 3.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/0.3056, allocations: 12 kB / 465.7 MB, free: 3.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.3057, allocations: 23.98 kB / 465.7 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-05/0.3057, allocations: 11.94 kB / 465.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/0.3057, allocations: 11.94 kB / 465.7 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.3075, allocations: 1.029 MB / 466.8 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.3077, allocations: 131.2 kB / 466.9 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.3078, allocations: 20 kB / 466.9 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/0.3085, allocations: 47.95 kB / 467 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.3086, allocations: 67.78 kB / 467 MB, free: 1.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.3087, allocations: 28 kB / 467 MB, free: 1.738 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001054/0.3097, allocations: 0.7228 MB / 467.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3097, allocations: 0 / 467.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008743/0.3106, allocations: 211.9 kB / 468 MB, free: 0.7969 MB / 366.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.003432/0.314, allocations: 1.868 MB / 469.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001778/0.3158, allocations: 0.7025 MB / 470.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3158, allocations: 4 kB / 470.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008022/0.3166, allocations: 341.8 kB / 470.9 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.3179, allocations: 226.1 kB / 471.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01459/0.3325, allocations: 8.461 MB / 479.6 MB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005777/0.3331, allocations: 447.9 kB / 480 MB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006484/0.3337, allocations: 127.5 kB / 480.1 MB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006017/0.3343, allocations: 407.3 kB / 480.5 MB, free: 3.809 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3343, allocations: 0 / 480.5 MB, free: 3.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05824/0.3926, allocations: 22.38 MB / 0.4911 GB, free: 13.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.36, allocations: 4.062 kB / 0.4911 GB, free: 13.59 MB / 414.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_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.0001 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable cActuator.flange.f in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable cActuator.flange.f from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.flange.f in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.flange.f from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.Phi in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.L_stat in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.L_stat from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.096107630059123]