Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001962/0.001962, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002027/0.002027, allocations: 214.8 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.506/1.506, allocations: 230.5 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.91 kB / 378.5 MB, free: 2.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2609, allocations: 53.4 MB / 431.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006472/0.2674, allocations: 4.245 MB / 436.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.271, allocations: 1.889 MB / 438 MB, free: 288 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.2713, allocations: 15.94 kB / 438.1 MB, free: 272 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007825/0.2721, allocations: 422.2 kB / 438.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009621/0.2731, allocations: 469.5 kB / 438.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007702/0.2738, allocations: 331.4 kB / 439.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.275, allocations: 1.036 MB / 440.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003652/0.2754, allocations: 210.7 kB / 440.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005875/0.276, allocations: 438.6 kB / 440.9 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006769/0.2767, allocations: 0.5371 MB / 441.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.2768, allocations: 103.9 kB / 441.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002454/0.2771, allocations: 136 kB / 441.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000241/0.2773, allocations: 239.2 kB / 441.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.2777, allocations: 370.1 kB / 442.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.2791, allocations: 1.313 MB / 443.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2791, allocations: 0 / 443.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2791, allocations: 0 / 443.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.2791, allocations: 0 / 443.6 MB, free: 10.7 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002203/0.2813, allocations: 1.162 MB / 444.8 MB, free: 9.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2814, allocations: 8.031 kB / 444.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.511e-05/0.2814, allocations: 17.5 kB / 444.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000126/0.2815, allocations: 102.7 kB / 444.9 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005138/0.282, allocations: 128.2 kB / 445 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009707/0.283, allocations: 0.5195 MB / 445.5 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.345e-05/0.2831, allocations: 53.25 kB / 445.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.2832, allocations: 60 kB / 445.6 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.2844, allocations: 0.6536 MB / 446.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.2844, allocations: 0 / 446.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.047e-05/0.2845, allocations: 24 kB / 446.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.2845, allocations: 16 kB / 446.3 MB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.2856, allocations: 0.5282 MB / 446.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003726/0.2893, allocations: 2.105 MB / 449 MB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000929/0.2903, allocations: 441.7 kB / 449.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/0.2909, allocations: 265.6 kB / 449.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.227e-05/0.291, allocations: 8.438 kB / 449.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.291, allocations: 39 kB / 449.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.944e-06/0.291, allocations: 0 / 449.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004326/0.2953, allocations: 1.46 MB / 451.2 MB, free: 2.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.2954, allocations: 60.06 kB / 451.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.2966, allocations: 0.9732 MB / 452.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.512e-05/0.2966, allocations: 37.7 kB / 452.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.297, allocations: 412.7 kB / 452.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.2971, allocations: 222.1 kB / 452.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.2974, allocations: 122.6 kB / 453 MB, free: 1.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.2975, allocations: 334 kB / 453.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.2981, allocations: 225.8 kB / 453.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/0.2987, allocations: 331.1 kB / 453.8 MB, free: 184 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.2998, allocations: 0.5521 MB / 454.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2998, allocations: 0 / 454.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001485/0.3013, allocations: 0.7077 MB / 455.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3013, allocations: 11.94 kB / 455.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3013, allocations: 7.984 kB / 455.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.3013, allocations: 4 kB / 455.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007851/0.3021, allocations: 163.8 kB / 455.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.3021, allocations: 7.938 kB / 455.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004956/0.3026, allocations: 36.05 kB / 455.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/0.3027, allocations: 31.98 kB / 455.4 MB, free: 14.62 MB / 366.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 (85): * Single equations (assignments): 85 * 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.0003866/0.3031, allocations: 261.7 kB / 455.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.3032, allocations: 91.38 kB / 455.7 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.3046, allocations: 0.6111 MB / 456.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3046, allocations: 4 kB / 456.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3046, allocations: 0 / 456.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3046, allocations: 4 kB / 456.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/0.3075, allocations: 1.547 MB / 457.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3075, allocations: 0 / 457.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.308, allocations: 123.9 kB / 458 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.308, allocations: 4.312 kB / 458 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.3081, allocations: 23.98 kB / 458 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.949e-06/0.3081, allocations: 7.938 kB / 458 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3081, allocations: 4 kB / 458 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.3093, allocations: 0.7299 MB / 458.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.3096, allocations: 131.4 kB / 458.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.835e-05/0.3097, allocations: 19.98 kB / 458.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.3102, allocations: 27.98 kB / 458.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3103, allocations: 52.28 kB / 459 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.3103, allocations: 23.98 kB / 459 MB, free: 10.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008926/0.3112, allocations: 0.702 MB / 459.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3112, allocations: 0 / 459.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005973/0.3118, allocations: 152 kB / 459.9 MB, free: 9.965 MB / 366.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 (63): * Single equations (assignments): 63 * 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.002952/0.3148, allocations: 1.562 MB / 461.4 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.316, allocations: 0.5268 MB / 462 MB, free: 7.953 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.316, allocations: 0.5625 kB / 462 MB, free: 7.953 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005365/0.3165, allocations: 258.3 kB / 462.2 MB, free: 7.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008929/0.3174, allocations: 146.7 kB / 462.4 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.3279, allocations: 6.525 MB / 468.9 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.3283, allocations: 375.9 kB / 469.2 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.3287, allocations: 101.1 kB / 469.3 MB, free: 300 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004735/0.3292, allocations: 307.4 kB / 469.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of SimCode: time 1.123e-06/0.3292, allocations: 0 / 469.6 MB, free: 15.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04563/0.3748, allocations: 17.03 MB / 486.7 MB, free: 15.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.19, allocations: 7.844 kB / 486.7 MB, free: 15.09 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 22.01074725203216]