Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 51.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3124, allocations: 49.16 MB / 396.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.007758/0.3201, allocations: 6.398 MB / 402.7 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004709/0.3248, allocations: 2.154 MB / 404.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009382/0.3258, allocations: 19.78 kB / 404.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009149/0.3267, allocations: 359.7 kB / 405.3 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001278/0.328, allocations: 0.4897 MB / 405.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009331/0.3289, allocations: 434.5 kB / 406.2 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.3306, allocations: 1.547 MB / 407.7 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005777/0.3312, allocations: 357.5 kB / 408.1 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008925/0.3321, allocations: 0.5907 MB / 408.7 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008752/0.333, allocations: 0.6795 MB / 409.4 MB, free: 492 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.3332, allocations: 159.5 kB / 409.5 MB, free: 492 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.3335, allocations: 187.9 kB / 409.7 MB, free: 484 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.3338, allocations: 325.9 kB / 410 MB, free: 248 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000641/0.3344, allocations: 0.6665 MB / 410.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002419/0.3369, allocations: 1.934 MB / 412.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3369, allocations: 1.312 kB / 412.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3369, allocations: 4 kB / 412.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.655e-05/0.3369, allocations: 3.938 kB / 412.6 MB, free: 14.57 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.0033/0.3402, allocations: 1.496 MB / 414.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.3402, allocations: 13.23 kB / 414.1 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002041/0.3404, allocations: 147.4 kB / 414.3 MB, free: 13.36 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002684/0.3407, allocations: 136.7 kB / 414.4 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.3421, allocations: 0.655 MB / 415.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.99e-05/0.3422, allocations: 75.88 kB / 415.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.3423, allocations: 99.91 kB / 415.2 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.3444, allocations: 1.018 MB / 416.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.335e-05/0.3444, allocations: 1.062 kB / 416.3 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/0.3445, allocations: 36 kB / 416.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.243e-05/0.3446, allocations: 23.22 kB / 416.3 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001998/0.3466, allocations: 0.883 MB / 417.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006383/0.3529, allocations: 3.542 MB / 420.7 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.3558, allocations: 0.8577 MB / 421.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007778/0.3566, allocations: 338.7 kB / 421.9 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.832e-05/0.3566, allocations: 6.875 kB / 421.9 MB, free: 8.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.3567, allocations: 50.62 kB / 422 MB, free: 8.105 MB / 334.1 MB Notification: Performance of pre-optimization done (n=58): time 2.034e-06/0.3567, allocations: 0 / 422 MB, free: 8.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.005265/0.3619, allocations: 1.814 MB / 423.8 MB, free: 7.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.277e-05/0.362, allocations: 92.81 kB / 423.9 MB, free: 6.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.3637, allocations: 0.9766 MB / 424.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/0.3637, allocations: 37.7 kB / 424.9 MB, free: 6.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/0.3642, allocations: 0.5389 MB / 425.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.3645, allocations: 238 kB / 425.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002876/0.3647, allocations: 154.6 kB / 425.8 MB, free: 5.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3649, allocations: 341.9 kB / 426.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008943/0.3658, allocations: 341.8 kB / 426.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.3668, allocations: 0.5261 MB / 427 MB, free: 4.195 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.3687, allocations: 0.8287 MB / 427.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3687, allocations: 0 / 427.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002378/0.3711, allocations: 1.02 MB / 428.9 MB, free: 2.266 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.3711, allocations: 11.94 kB / 428.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.3711, allocations: 8 kB / 428.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.3711, allocations: 12.34 kB / 428.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.3723, allocations: 287.6 kB / 429.2 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.466e-05/0.3724, allocations: 15.92 kB / 429.2 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009139/0.3733, allocations: 67.94 kB / 429.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.104e-05/0.3733, allocations: 35.98 kB / 429.3 MB, free: 1.836 MB / 334.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.0005397/0.3739, allocations: 285.6 kB / 429.6 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.3741, allocations: 107.3 kB / 429.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009838/0.375, allocations: 390.1 kB / 430.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.3751, allocations: 8 kB / 430.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.3751, allocations: 0 / 430.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.3751, allocations: 3.984 kB / 430.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004206/0.3793, allocations: 2.254 MB / 432.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.3793, allocations: 8 kB / 432.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008564/0.3802, allocations: 212 kB / 432.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.3802, allocations: 12 kB / 432.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.998e-05/0.3802, allocations: 23.98 kB / 432.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.641e-05/0.3802, allocations: 19.86 kB / 432.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.3802, allocations: 11.94 kB / 432.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.3821, allocations: 1.033 MB / 433.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000318/0.3824, allocations: 115.3 kB / 433.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.3825, allocations: 20 kB / 433.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000613/0.3832, allocations: 55.89 kB / 433.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.3833, allocations: 67.72 kB / 433.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.798e-05/0.3833, allocations: 27.98 kB / 433.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009978/0.3843, allocations: 0.6826 MB / 434.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3843, allocations: 0 / 434.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008676/0.3852, allocations: 207.9 kB / 434.8 MB, free: 12.06 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.003253/0.3884, allocations: 1.845 MB / 436.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.3904, allocations: 0.7302 MB / 437.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.3904, allocations: 0 / 437.4 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008454/0.3912, allocations: 365.2 kB / 437.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.3927, allocations: 208.1 kB / 437.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/0.407, allocations: 8.419 MB / 446.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/0.4078, allocations: 1.022 MB / 447.4 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006084/0.4084, allocations: 119.2 kB / 447.5 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005771/0.409, allocations: 387.2 kB / 447.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.409, allocations: 0 / 447.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05944/0.4684, allocations: 20.83 MB / 468.7 MB, free: 9.438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.35, allocations: 7.938 kB / 468.7 MB, free: 9.43 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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.00119952 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable cActuator.flange.f from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.flange.f in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.flange.f from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.Phi in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.Phi from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! Error: Could not read variable pmActuator.coil.L_stat in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv. Warning: Get data of variable pmActuator.coil.L_stat from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.969229959002405]