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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 190.7 kB / 24.49 MB, free: 3.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 43.92 kB / 371.2 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2366, allocations: 52.18 MB / 423.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008218/0.2449, allocations: 5.707 MB / 429.1 MB, free: 8.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004163/0.249, allocations: 2.1 MB / 431.2 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006012/0.2496, allocations: 19.94 kB / 431.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007942/0.2504, allocations: 353.8 kB / 431.5 MB, free: 6.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009855/0.2514, allocations: 488.7 kB / 432 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.2523, allocations: 459.2 kB / 432.5 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001667/0.2539, allocations: 1.546 MB / 434 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005753/0.2545, allocations: 357.9 kB / 434.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007693/0.2553, allocations: 0.5841 MB / 434.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007742/0.256, allocations: 0.6809 MB / 435.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001911/0.2562, allocations: 160 kB / 435.8 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002959/0.2565, allocations: 188 kB / 436 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.2568, allocations: 323 kB / 436.3 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005681/0.2574, allocations: 0.5367 MB / 436.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.2594, allocations: 1.958 MB / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2594, allocations: 3.938 kB / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2594, allocations: 0 / 438.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.824e-05/0.2594, allocations: 0 / 438.8 MB, free: 14.91 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003205/0.2626, allocations: 1.493 MB / 440.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2627, allocations: 12.03 kB / 440.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.722e-05/0.2627, allocations: 22.19 kB / 440.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001905/0.2629, allocations: 156.1 kB / 440.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.2631, allocations: 136.1 kB / 440.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.2644, allocations: 0.6512 MB / 441.2 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.323e-05/0.2645, allocations: 82.06 kB / 441.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.2646, allocations: 99.95 kB / 441.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.2669, allocations: 1.059 MB / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.2669, allocations: 4 kB / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/0.267, allocations: 40 kB / 442.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.267, allocations: 20 kB / 442.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/0.2691, allocations: 0.8874 MB / 443.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005397/0.2745, allocations: 3.042 MB / 446.5 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.2774, allocations: 0.8559 MB / 447.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008283/0.2782, allocations: 338.5 kB / 447.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.052e-05/0.2783, allocations: 11.98 kB / 447.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.2783, allocations: 50.36 kB / 447.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 2.265e-06/0.2783, allocations: 0 / 447.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=67): time 0.005/0.2833, allocations: 1.804 MB / 449.5 MB, free: 3.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.2834, allocations: 89.11 kB / 449.6 MB, free: 3.805 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.285, allocations: 0.978 MB / 450.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.285, allocations: 41.7 kB / 450.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005199/0.2856, allocations: 0.5311 MB / 451.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002141/0.2858, allocations: 242 kB / 451.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/0.2861, allocations: 158.5 kB / 451.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2862, allocations: 341.9 kB / 451.9 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009177/0.2871, allocations: 349.7 kB / 452.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00107/0.2882, allocations: 0.5221 MB / 452.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.2901, allocations: 0.8203 MB / 453.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2901, allocations: 0 / 453.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002334/0.2924, allocations: 1.016 MB / 454.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.2925, allocations: 8 kB / 454.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.2925, allocations: 7.938 kB / 454.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.2925, allocations: 12 kB / 454.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.2938, allocations: 291.6 kB / 454.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.065e-05/0.2938, allocations: 11.94 kB / 454.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008141/0.2946, allocations: 63.92 kB / 455 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/0.2947, allocations: 43.98 kB / 455 MB, free: 14.2 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 (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.0005006/0.2952, allocations: 281.6 kB / 455.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/0.2953, allocations: 107.3 kB / 455.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.2964, allocations: 382.2 kB / 455.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.2964, allocations: 8 kB / 455.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.2964, allocations: 4 kB / 455.8 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.2964, allocations: 3.984 kB / 455.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/0.3005, allocations: 2.108 MB / 457.9 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.3005, allocations: 8 kB / 457.9 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008857/0.3014, allocations: 208.1 kB / 458.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/0.3014, allocations: 12 kB / 458.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.733e-05/0.3014, allocations: 20 kB / 458.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.712e-05/0.3014, allocations: 19.86 kB / 458.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.3015, allocations: 11.94 kB / 458.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.3035, allocations: 1.033 MB / 459.2 MB, free: 9.766 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.3037, allocations: 119.3 kB / 459.3 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.3038, allocations: 16 kB / 459.3 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/0.3045, allocations: 63.81 kB / 459.4 MB, free: 9.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.3046, allocations: 63.8 kB / 459.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/0.3047, allocations: 27.98 kB / 459.5 MB, free: 9.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001029/0.3057, allocations: 0.6786 MB / 460.1 MB, free: 8.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3057, allocations: 0 / 460.1 MB, free: 8.809 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000826/0.3065, allocations: 207.9 kB / 460.3 MB, free: 8.605 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.003586/0.3101, allocations: 1.877 MB / 462.2 MB, free: 6.777 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00186/0.312, allocations: 0.7339 MB / 463 MB, free: 6.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.312, allocations: 4 kB / 463 MB, free: 6.043 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008145/0.3128, allocations: 357.8 kB / 463.3 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.314, allocations: 210.2 kB / 463.5 MB, free: 5.492 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.3275, allocations: 8.422 MB / 471.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/0.328, allocations: 427.1 kB / 472.4 MB, free: 12.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000538/0.3285, allocations: 131.2 kB / 472.5 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005429/0.3291, allocations: 379.2 kB / 472.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of SimCode: time 9.81e-07/0.3291, allocations: 4 kB / 472.9 MB, free: 11.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04951/0.3786, allocations: 21.46 MB / 494.3 MB, free: 6.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.27/12.65, allocations: 11.61 kB / 494.3 MB, free: 6.488 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --stepSize=0.00119952 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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: 15.555295996018685]