Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.005798/0.005798, allocations: 114.1 kB / 21.97 MB, free: 5.227 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.001366/0.001366, allocations: 213.2 kB / 25.28 MB, free: 3.246 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.338/1.338, allocations: 207.6 MB / 236 MB, free: 9.984 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.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",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.001658/0.001658, allocations: 47.94 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2514, allocations: 49.17 MB / 397.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005233/0.2566, allocations: 4.566 MB / 401.7 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002541/0.2592, allocations: 1.771 MB / 403.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.2594, allocations: 13.75 kB / 403.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007721/0.2602, allocations: 421.5 kB / 403.9 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006905/0.2609, allocations: 426.8 kB / 404.3 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.2614, allocations: 291.3 kB / 404.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009178/0.2623, allocations: 1.03 MB / 405.6 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.2627, allocations: 222.5 kB / 405.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003965/0.2631, allocations: 414.9 kB / 406.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006018/0.2637, allocations: 0.5254 MB / 406.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.2638, allocations: 98.44 kB / 406.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001924/0.264, allocations: 124.2 kB / 407 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.2642, allocations: 234.2 kB / 407.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003171/0.2645, allocations: 460 kB / 407.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.2658, allocations: 1.277 MB / 408.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2658, allocations: 0.6094 kB / 408.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2658, allocations: 0 / 408.9 MB, free: 2.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.2658, allocations: 1.281 kB / 409 MB, free: 2.066 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001968/0.2677, allocations: 1.155 MB / 410.1 MB, free: 1.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2678, allocations: 13.52 kB / 410.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.827e-05/0.2678, allocations: 19.03 kB / 410.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.472e-05/0.2679, allocations: 97.95 kB / 410.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.268, allocations: 104.4 kB / 410.3 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007579/0.2688, allocations: 0.502 MB / 410.8 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.206e-05/0.2688, allocations: 53.66 kB / 410.9 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.665e-05/0.2689, allocations: 54.91 kB / 410.9 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.27, allocations: 0.6489 MB / 411.6 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.27, allocations: 3.953 kB / 411.6 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.2701, allocations: 26.25 kB / 411.6 MB, free: 196 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.2701, allocations: 18.06 kB / 411.6 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.2713, allocations: 0.5558 MB / 412.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.2751, allocations: 2.461 MB / 414.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009462/0.2761, allocations: 445.4 kB / 415.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006927/0.2768, allocations: 282.3 kB / 415.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.741e-05/0.2768, allocations: 7 kB / 415.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.2769, allocations: 41.44 kB / 415.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.894e-06/0.2769, allocations: 4 kB / 415.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.00474/0.2816, allocations: 1.505 MB / 416.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.2817, allocations: 61.47 kB / 417 MB, free: 12.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001339/0.283, allocations: 0.9446 MB / 417.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.139e-05/0.283, allocations: 36.64 kB / 418 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.2834, allocations: 416 kB / 418.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.2836, allocations: 214.5 kB / 418.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.2838, allocations: 117.2 kB / 418.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.284, allocations: 331.9 kB / 419 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006115/0.2846, allocations: 241.1 kB / 419.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007274/0.2853, allocations: 346.4 kB / 419.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.2866, allocations: 0.568 MB / 420.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.2866, allocations: 0 / 420.2 MB, free: 10.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001627/0.2882, allocations: 0.7382 MB / 420.9 MB, free: 10.1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.2882, allocations: 10.47 kB / 420.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2882, allocations: 2.719 kB / 420.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.2882, allocations: 4.969 kB / 420.9 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007612/0.289, allocations: 175.4 kB / 421.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.289, allocations: 4.625 kB / 421.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.2895, allocations: 39.22 kB / 421.1 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-05/0.2896, allocations: 29.73 kB / 421.2 MB, free: 10.02 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0004055/0.29, allocations: 269.1 kB / 421.4 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.2901, allocations: 93.92 kB / 421.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.2916, allocations: 0.6276 MB / 422.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.2916, allocations: 5.812 kB / 422.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.2916, allocations: 1.406 kB / 422.1 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/0.2916, allocations: 3.984 kB / 422.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.2948, allocations: 1.774 MB / 423.9 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.2948, allocations: 8 kB / 423.9 MB, free: 8.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.2954, allocations: 136.1 kB / 424.1 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.2954, allocations: 4 kB / 424.1 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-05/0.2954, allocations: 19.98 kB / 424.1 MB, free: 7.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.2955, allocations: 4 kB / 424.1 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.2955, allocations: 4 kB / 424.1 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00142/0.2969, allocations: 0.7455 MB / 424.8 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.2972, allocations: 131.4 kB / 425 MB, free: 6.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.289e-05/0.2973, allocations: 27.86 kB / 425 MB, free: 6.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004241/0.2977, allocations: 35.97 kB / 425 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.2978, allocations: 56.17 kB / 425.1 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.2978, allocations: 20 kB / 425.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009183/0.2987, allocations: 0.6826 MB / 425.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2987, allocations: 0 / 425.8 MB, free: 6.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006328/0.2994, allocations: 152 kB / 425.9 MB, free: 5.977 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * 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.003049/0.3024, allocations: 1.549 MB / 427.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.3039, allocations: 0.5453 MB / 428 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.3039, allocations: 4 kB / 428 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006334/0.3045, allocations: 279.4 kB / 428.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008104/0.3053, allocations: 126.8 kB / 428.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/0.3157, allocations: 6.506 MB / 434.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.3164, allocations: 0.9592 MB / 435.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004165/0.3168, allocations: 101 kB / 436 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/0.3172, allocations: 291.3 kB / 436.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3172, allocations: 3.938 kB / 436.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04203/0.3592, allocations: 16.18 MB / 452.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.34, allocations: 4.062 kB / 452.5 MB, free: 10.97 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.00159936 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.02178307599388]