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.005105/0.005105, allocations: 101.4 kB / 21.96 MB, free: 5.211 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.001384/0.001384, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.339/1.339, allocations: 207.7 MB / 236.1 MB, free: 9.801 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.001885/0.001885, allocations: 47.92 kB / 348 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.243, allocations: 49.15 MB / 397.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005313/0.2483, allocations: 4.111 MB / 401.2 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.2509, allocations: 1.669 MB / 402.9 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.2512, allocations: 14.19 kB / 402.9 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007761/0.252, allocations: 420.9 kB / 403.3 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007916/0.2528, allocations: 413.4 kB / 403.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006052/0.2534, allocations: 312.2 kB / 404 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009318/0.2543, allocations: 1.016 MB / 405.1 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.2546, allocations: 215.6 kB / 405.3 MB, free: 3.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004177/0.255, allocations: 425.7 kB / 405.7 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005871/0.2556, allocations: 0.5247 MB / 406.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.2557, allocations: 96.12 kB / 406.3 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.256, allocations: 124.3 kB / 406.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.2561, allocations: 237 kB / 406.7 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002909/0.2564, allocations: 365.5 kB / 407 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.2577, allocations: 1.283 MB / 408.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2577, allocations: 1.984 kB / 408.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2577, allocations: 0 / 408.3 MB, free: 2.637 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.2577, allocations: 0 / 408.3 MB, free: 2.637 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.00196/0.2597, allocations: 1.157 MB / 409.5 MB, free: 1.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2597, allocations: 13.58 kB / 409.5 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.196e-05/0.2598, allocations: 16.62 kB / 409.5 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.903e-05/0.2599, allocations: 109.9 kB / 409.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.26, allocations: 102.6 kB / 409.7 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007404/0.2607, allocations: 0.4961 MB / 410.2 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.2608, allocations: 45.62 kB / 410.2 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.114e-05/0.2608, allocations: 59.44 kB / 410.3 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.2619, allocations: 0.6742 MB / 411 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.2619, allocations: 3.953 kB / 411 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.145e-05/0.262, allocations: 25.28 kB / 411 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.262, allocations: 18.81 kB / 411 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.2631, allocations: 0.5527 MB / 411.6 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.2665, allocations: 2.102 MB / 413.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009054/0.2674, allocations: 448.5 kB / 414.1 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000681/0.2681, allocations: 287 kB / 414.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.074e-05/0.2682, allocations: 14 kB / 414.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2682, allocations: 33.69 kB / 414.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 1.653e-06/0.2682, allocations: 1.344 kB / 414.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004457/0.2727, allocations: 1.505 MB / 415.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2727, allocations: 57.88 kB / 416 MB, free: 13.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.2738, allocations: 0.9483 MB / 416.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/0.2739, allocations: 35.95 kB / 417 MB, free: 13.02 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.2742, allocations: 413.1 kB / 417.4 MB, free: 12.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.2744, allocations: 210.9 kB / 417.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.2746, allocations: 121.3 kB / 417.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2748, allocations: 332 kB / 418 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000599/0.2754, allocations: 241.5 kB / 418.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.276, allocations: 352.2 kB / 418.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.2772, allocations: 0.5578 MB / 419.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2772, allocations: 0 / 419.2 MB, free: 11.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001545/0.2788, allocations: 0.7351 MB / 419.9 MB, free: 11.03 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.2788, allocations: 9.625 kB / 419.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2788, allocations: 2.656 kB / 419.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.2788, allocations: 5.281 kB / 419.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/0.2796, allocations: 175.4 kB / 420.1 MB, free: 10.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2796, allocations: 8.281 kB / 420.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/0.2801, allocations: 38.95 kB / 420.1 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.001e-05/0.2802, allocations: 33.56 kB / 420.2 MB, free: 10.94 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.0003377/0.2805, allocations: 265.5 kB / 420.4 MB, free: 10.74 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.2806, allocations: 90.25 kB / 420.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.2821, allocations: 0.6321 MB / 421.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2821, allocations: 5.75 kB / 421.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2821, allocations: 1.25 kB / 421.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2821, allocations: 3.984 kB / 421.2 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002836/0.2849, allocations: 1.562 MB / 422.7 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2849, allocations: 4.031 kB / 422.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.2855, allocations: 131.8 kB / 422.9 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.2855, allocations: 7.938 kB / 422.9 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.2856, allocations: 15.98 kB / 422.9 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.2856, allocations: 11.94 kB / 422.9 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2856, allocations: 0 / 422.9 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.2869, allocations: 0.7533 MB / 423.6 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002517/0.2872, allocations: 131.4 kB / 423.8 MB, free: 8.031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.693e-05/0.2873, allocations: 19.92 kB / 423.8 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004335/0.2877, allocations: 35.97 kB / 423.8 MB, free: 7.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-05/0.2878, allocations: 60.22 kB / 423.9 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-05/0.2878, allocations: 16 kB / 423.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008305/0.2887, allocations: 0.6942 MB / 424.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2887, allocations: 0 / 424.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005536/0.2892, allocations: 148 kB / 424.7 MB, free: 7.07 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.002976/0.2922, allocations: 1.576 MB / 426.3 MB, free: 5.434 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.2936, allocations: 0.5532 MB / 426.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2936, allocations: 0 / 426.9 MB, free: 4.883 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006049/0.2942, allocations: 275.3 kB / 427.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007359/0.2949, allocations: 122.8 kB / 427.3 MB, free: 4.488 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0097/0.3046, allocations: 6.506 MB / 433.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.305, allocations: 363.1 kB / 434.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004189/0.3054, allocations: 97.03 kB / 434.2 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/0.3058, allocations: 291.3 kB / 434.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3058, allocations: 0 / 434.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.348, allocations: 16.52 MB / 451 MB, free: 12.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.66, allocations: 15.8 kB / 451 MB, free: 12.27 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.35411622992251]