Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001555/0.001555, allocations: 114 kB / 20.43 MB, free: 1.457 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.001944/0.001944, allocations: 214 kB / 23.74 MB, free: 4.672 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.425/1.425, allocations: 230.5 MB / 257.4 MB, free: 8 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.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 68.08 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.248, allocations: 53.41 MB / 431.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008933/0.257, allocations: 6.602 MB / 437.8 MB, free: 200 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004695/0.2617, allocations: 2.407 MB / 440.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009545/0.2626, allocations: 23.88 kB / 440.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001121/0.2637, allocations: 361.8 kB / 440.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.2656, allocations: 0.5433 MB / 441.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.2668, allocations: 458.9 kB / 441.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002319/0.2691, allocations: 1.569 MB / 443.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007264/0.2698, allocations: 361.4 kB / 443.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001155/0.271, allocations: 0.6035 MB / 444.1 MB, free: 9.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00116/0.2721, allocations: 0.6886 MB / 444.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003035/0.2724, allocations: 160 kB / 444.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004654/0.2729, allocations: 192 kB / 445.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.2733, allocations: 338.9 kB / 445.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.2743, allocations: 0.6805 MB / 446.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002439/0.2767, allocations: 1.982 MB / 448.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2767, allocations: 0 / 448.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2767, allocations: 0 / 448.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.545e-05/0.2768, allocations: 0 / 448.1 MB, free: 5.816 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003673/0.2805, allocations: 1.501 MB / 449.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.2805, allocations: 15.97 kB / 449.6 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002452/0.2808, allocations: 148.3 kB / 449.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006123/0.2814, allocations: 168.1 kB / 449.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.2828, allocations: 0.6739 MB / 450.6 MB, free: 3.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-05/0.2829, allocations: 77.94 kB / 450.7 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.2831, allocations: 95.98 kB / 450.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/0.2851, allocations: 0.9779 MB / 451.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.686e-05/0.2851, allocations: 4 kB / 451.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.861e-05/0.2852, allocations: 40 kB / 451.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.662e-05/0.2852, allocations: 27.98 kB / 451.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.2871, allocations: 0.821 MB / 452.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006299/0.2934, allocations: 3.561 MB / 456.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001928/0.2953, allocations: 0.5868 MB / 456.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006075/0.2959, allocations: 288.6 kB / 457.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.375e-05/0.296, allocations: 23.92 kB / 457.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.2961, allocations: 39.53 kB / 457.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 3.116e-06/0.2961, allocations: 0 / 457.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004414/0.3005, allocations: 1.696 MB / 458.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.98e-05/0.3006, allocations: 85.11 kB / 458.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/0.3022, allocations: 1.038 MB / 460 MB, free: 9.637 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.3022, allocations: 37.7 kB / 460 MB, free: 9.594 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/0.3027, allocations: 0.5584 MB / 460.6 MB, free: 9.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/0.3029, allocations: 245.9 kB / 460.8 MB, free: 8.785 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002586/0.3031, allocations: 158.6 kB / 461 MB, free: 8.625 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.3033, allocations: 345.9 kB / 461.3 MB, free: 8.281 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007562/0.3041, allocations: 305.8 kB / 461.6 MB, free: 7.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008981/0.305, allocations: 0.4913 MB / 462.1 MB, free: 7.414 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001553/0.3065, allocations: 0.7785 MB / 462.9 MB, free: 6.562 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.769e-05/0.3065, allocations: 4 kB / 462.9 MB, free: 6.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002081/0.3086, allocations: 0.9669 MB / 463.8 MB, free: 5.586 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.3086, allocations: 14.28 kB / 463.8 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.3087, allocations: 4 kB / 463.8 MB, free: 5.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.3087, allocations: 12 kB / 463.9 MB, free: 5.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.3099, allocations: 287.9 kB / 464.1 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.138e-05/0.3099, allocations: 11.98 kB / 464.1 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/0.3106, allocations: 47.95 kB / 464.2 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.681e-05/0.3107, allocations: 39.98 kB / 464.2 MB, free: 5.18 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 (112): * Single equations (assignments): 112 * 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.0004473/0.3112, allocations: 297.5 kB / 464.5 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.3113, allocations: 111.3 kB / 464.6 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000843/0.3122, allocations: 342.8 kB / 465 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.3122, allocations: 8 kB / 465 MB, free: 4.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.3122, allocations: 4 kB / 465 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.3122, allocations: 7.922 kB / 465 MB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004083/0.3163, allocations: 2.253 MB / 467.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.498e-05/0.3163, allocations: 11.98 kB / 467.3 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008615/0.3172, allocations: 208.3 kB / 467.5 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-05/0.3172, allocations: 12 kB / 467.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.3172, allocations: 23.98 kB / 467.5 MB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-05/0.3173, allocations: 8 kB / 467.5 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/0.3173, allocations: 11.94 kB / 467.5 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.319, allocations: 1.037 MB / 468.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002804/0.3193, allocations: 119.3 kB / 468.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.3195, allocations: 20 kB / 468.7 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006671/0.3201, allocations: 55.95 kB / 468.7 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.3203, allocations: 63.78 kB / 468.8 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/0.3203, allocations: 27.98 kB / 468.8 MB, free: 336 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001067/0.3214, allocations: 0.7228 MB / 469.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3214, allocations: 0 / 469.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008298/0.3222, allocations: 208 kB / 469.8 MB, free: 15.39 MB / 382.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.00329/0.3255, allocations: 1.847 MB / 471.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001682/0.3272, allocations: 0.7027 MB / 472.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.3272, allocations: 384 / 472.3 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007994/0.328, allocations: 349.1 kB / 472.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.3293, allocations: 233.9 kB / 472.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.3435, allocations: 8.462 MB / 481.3 MB, free: 3.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008128/0.3444, allocations: 1.033 MB / 482.4 MB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005699/0.3449, allocations: 131.5 kB / 482.5 MB, free: 2.203 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006074/0.3455, allocations: 403.3 kB / 482.9 MB, free: 1.809 MB / 382.1 MB Notification: Performance of SimCode: time 1.382e-06/0.3455, allocations: 0 / 482.9 MB, free: 1.809 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06247/0.408, allocations: 21.56 MB / 0.4926 GB, free: 12.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.43, allocations: 7.562 kB / 0.4926 GB, free: 12.38 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 19.13903386099264]