Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.004793/0.004793, allocations: 100.8 kB / 21.96 MB, free: 5.203 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.001513/0.001513, allocations: 218 kB / 25.26 MB, free: 3.137 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.317/1.317, allocations: 207.7 MB / 236.1 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 179] 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.ArmatureStroke,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke",fmuType="cs",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.001635/0.001635, allocations: 47.92 kB / 348 MB, free: 9.918 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2396, allocations: 49.17 MB / 397.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005914/0.2455, allocations: 5.508 MB / 402.6 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.2485, allocations: 1.797 MB / 404.4 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004444/0.2489, allocations: 20.06 kB / 404.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005193/0.2494, allocations: 219.4 kB / 404.7 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007664/0.2502, allocations: 408 kB / 405.1 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000626/0.2508, allocations: 377.6 kB / 405.4 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001234/0.2521, allocations: 1.49 MB / 406.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000465/0.2525, allocations: 350.4 kB / 407.3 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000551/0.2531, allocations: 0.5535 MB / 407.8 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/0.2537, allocations: 0.6035 MB / 408.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.2539, allocations: 158.2 kB / 408.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.2541, allocations: 160.3 kB / 408.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001808/0.2543, allocations: 298.7 kB / 409 MB, free: 1.418 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.2547, allocations: 0.5289 MB / 409.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.2562, allocations: 1.862 MB / 411.4 MB, free: 116 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2562, allocations: 4 kB / 411.4 MB, free: 112 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2562, allocations: 0 / 411.4 MB, free: 112 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.2562, allocations: 0 / 411.4 MB, free: 112 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003041/0.2592, allocations: 1.407 MB / 412.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.2593, allocations: 14.3 kB / 412.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.767e-05/0.2593, allocations: 29.59 kB / 412.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/0.2595, allocations: 146.7 kB / 413 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.2597, allocations: 124.7 kB / 413.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.2611, allocations: 0.6184 MB / 413.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.394e-05/0.2612, allocations: 74.62 kB / 413.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.2613, allocations: 103.2 kB / 413.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.2633, allocations: 1.06 MB / 415 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/0.2633, allocations: 1.312 kB / 415 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.323e-05/0.2634, allocations: 40.09 kB / 415 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.2635, allocations: 23.94 kB / 415.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.2653, allocations: 0.8652 MB / 415.9 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004851/0.2701, allocations: 2.84 MB / 418.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.2716, allocations: 0.7639 MB / 419.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008595/0.2724, allocations: 446 kB / 420 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.899e-05/0.2725, allocations: 14.44 kB / 420 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.823e-05/0.2725, allocations: 40.56 kB / 420 MB, free: 10.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.524e-06/0.2725, allocations: 4 kB / 420 MB, free: 10.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.009338/0.2818, allocations: 3.936 MB / 424 MB, free: 7.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.2819, allocations: 89.77 kB / 424 MB, free: 7.863 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000935/0.2828, allocations: 0.5968 MB / 424.6 MB, free: 7.254 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/0.2829, allocations: 45.7 kB / 424.7 MB, free: 7.203 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004342/0.2833, allocations: 437.1 kB / 425.1 MB, free: 6.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003584/0.2837, allocations: 420.4 kB / 425.5 MB, free: 6.355 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.284, allocations: 186.9 kB / 425.7 MB, free: 6.168 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.2842, allocations: 394.7 kB / 426.1 MB, free: 5.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008259/0.285, allocations: 382.4 kB / 426.5 MB, free: 5.398 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000964/0.286, allocations: 0.512 MB / 427 MB, free: 4.855 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.2877, allocations: 0.8887 MB / 427.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2877, allocations: 0 / 427.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002353/0.2901, allocations: 1.189 MB / 429 MB, free: 2.723 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.2901, allocations: 11.94 kB / 429.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2901, allocations: 0 / 429.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/0.2905, allocations: 130.5 kB / 429.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.2915, allocations: 251.6 kB / 429.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004272/0.2958, allocations: 4.633 MB / 434.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008308/0.2966, allocations: 59.92 kB / 434.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.334e-05/0.2967, allocations: 39.98 kB / 434.2 MB, free: 13.26 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (128): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005102/0.2972, allocations: 281.7 kB / 434.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.2974, allocations: 91.44 kB / 434.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.299, allocations: 0.7722 MB / 435.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.299, allocations: 8 kB / 435.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.2991, allocations: 4 kB / 435.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.2991, allocations: 7.969 kB / 435.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004234/0.3033, allocations: 2.33 MB / 437.7 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3033, allocations: 8.062 kB / 437.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009042/0.3042, allocations: 203.7 kB / 437.9 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004267/0.3046, allocations: 151.3 kB / 438 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/0.3047, allocations: 27.98 kB / 438 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004762/0.3095, allocations: 5.557 MB / 443.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3095, allocations: 256 / 443.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003238/0.3127, allocations: 1.75 MB / 445.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.3129, allocations: 91.48 kB / 445.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.313, allocations: 24 kB / 445.5 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/0.3136, allocations: 47.95 kB / 445.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.3138, allocations: 84.44 kB / 445.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/0.3138, allocations: 35.98 kB / 445.6 MB, free: 1.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005808/0.3144, allocations: 435.1 kB / 446 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3144, allocations: 0 / 446 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009204/0.3153, allocations: 259.9 kB / 446.3 MB, free: 0.5234 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003553/0.3189, allocations: 2.324 MB / 448.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.3213, allocations: 1.283 MB / 449.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3213, allocations: 0 / 449.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.3228, allocations: 0.9753 MB / 450.9 MB, free: 11.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.3238, allocations: 187.1 kB / 451.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.3375, allocations: 8.21 MB / 459.3 MB, free: 3.184 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.338, allocations: 440.8 kB / 459.7 MB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004992/0.3385, allocations: 115.6 kB / 459.8 MB, free: 2.598 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005791/0.3391, allocations: 395.2 kB / 460.2 MB, free: 2.211 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3391, allocations: 4 kB / 460.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05975/0.3988, allocations: 22.25 MB / 482.4 MB, free: 11.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.34, allocations: 15.78 kB / 482.5 MB, free: 11.85 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_fmu --startTime=0 --stopTime=0.05 --stepSize=9.94036e-06 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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: 16.17492537293583]