Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008213/0.0008213, allocations: 92.47 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002367/0.0002367, allocations: 4 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2155, allocations: 50.42 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1008/0.3164, allocations: 89.53 MB / 491.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.3167, allocations: 94.08 kB / 491.2 MB, free: 6.789 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04134/0.3581, allocations: 16.3 MB / 0.4956 GB, free: 6.434 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3581, allocations: 0 / 0.4956 GB, free: 6.434 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.663e-05/0.3582, allocations: 16 kB / 0.4956 GB, free: 6.418 MB / 378.7 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.002117/0.3603, allocations: 1.09 MB / 0.4967 GB, free: 5.273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3603, allocations: 8.031 kB / 0.4967 GB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001779/0.3605, allocations: 110.4 kB / 0.4968 GB, free: 5.148 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.3607, allocations: 94.88 kB / 0.4969 GB, free: 5.055 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009388/0.3617, allocations: 0.5387 MB / 0.4974 GB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.3618, allocations: 46 kB / 0.4975 GB, free: 4.434 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-05/0.3619, allocations: 63.95 kB / 0.4975 GB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.3632, allocations: 0.6674 MB / 0.4982 GB, free: 3.688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.3633, allocations: 8 kB / 0.4982 GB, free: 3.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-05/0.3633, allocations: 27.94 kB / 0.4982 GB, free: 3.652 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.3634, allocations: 16 kB / 0.4982 GB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.3647, allocations: 0.6063 MB / 0.4988 GB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004073/0.3688, allocations: 2.651 MB / 0.5014 GB, free: 244 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1752/0.544, allocations: 0.4974 MB / 0.5019 GB, free: 94.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.086e-05/0.5442, allocations: 10.89 kB / 0.5019 GB, free: 94.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.5442, allocations: 37.22 kB / 0.5019 GB, free: 94.47 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.876e-06/0.5442, allocations: 0 / 0.5019 GB, free: 94.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=65): time 0.005349/0.5496, allocations: 1.738 MB / 0.5036 GB, free: 94.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.5496, allocations: 61.62 kB / 0.5037 GB, free: 94.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.5511, allocations: 0.8528 MB / 0.5045 GB, free: 94.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.5511, allocations: 37.08 kB / 0.5046 GB, free: 94.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.5514, allocations: 397.5 kB / 0.5049 GB, free: 93.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.5515, allocations: 219.2 kB / 0.5052 GB, free: 93.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.5516, allocations: 19.44 kB / 0.5052 GB, free: 93.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.5516, allocations: 331.6 kB / 0.5055 GB, free: 93.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006873/0.5523, allocations: 276.7 kB / 0.5058 GB, free: 93.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007701/0.5531, allocations: 378.5 kB / 0.5061 GB, free: 93.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.5538, allocations: 318.4 kB / 0.5064 GB, free: 93.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.5538, allocations: 0 / 0.5064 GB, free: 93.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001443/0.5552, allocations: 0.8059 MB / 0.5072 GB, free: 93.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5552, allocations: 3.844 kB / 0.5072 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.5553, allocations: 3.062 kB / 0.5072 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.5553, allocations: 12.22 kB / 0.5072 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000772/0.5561, allocations: 190.9 kB / 0.5074 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.5561, allocations: 9.844 kB / 0.5074 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006183/0.5567, allocations: 62.06 kB / 0.5075 GB, free: 93.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.577e-05/0.5568, allocations: 24.94 kB / 0.5075 GB, free: 93.36 MB / 378.7 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_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 initialization (87): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003318/0.5571, allocations: 265.4 kB / 0.5078 GB, free: 93.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.5572, allocations: 86.19 kB / 0.5078 GB, free: 93.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001298/0.5585, allocations: 0.713 MB / 0.5085 GB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.5585, allocations: 7.734 kB / 0.5085 GB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.5585, allocations: 0 / 0.5085 GB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.5586, allocations: 7.203 kB / 0.5085 GB, free: 93.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.5613, allocations: 1.949 MB / 0.5104 GB, free: 92.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5613, allocations: 7.297 kB / 0.5105 GB, free: 92.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/0.5619, allocations: 154.5 kB / 0.5106 GB, free: 92.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.5619, allocations: 7.094 kB / 0.5106 GB, free: 92.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.562, allocations: 14.39 kB / 0.5106 GB, free: 92.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.562, allocations: 13.83 kB / 0.5106 GB, free: 92.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.562, allocations: 3.719 kB / 0.5106 GB, free: 92.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.5633, allocations: 0.9169 MB / 0.5115 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.5637, allocations: 241.4 kB / 0.5118 GB, free: 91.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-05/0.5638, allocations: 23.03 kB / 0.5118 GB, free: 91.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/0.5643, allocations: 49.98 kB / 0.5118 GB, free: 91.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.5644, allocations: 51.95 kB / 0.5119 GB, free: 91.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.5644, allocations: 15.69 kB / 0.5119 GB, free: 91.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000698/0.5651, allocations: 0.6784 MB / 0.5126 GB, free: 91.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.5651, allocations: 0 / 0.5126 GB, free: 91.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005963/0.5657, allocations: 186.9 kB / 0.5127 GB, free: 91.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002174/0.5679, allocations: 2.359 MB / 0.515 GB, free: 89.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001262/0.5692, allocations: 0.6505 MB / 0.5157 GB, free: 89.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5692, allocations: 0 / 0.5157 GB, free: 89.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005666/0.5698, allocations: 338.2 kB / 0.516 GB, free: 89.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.5704, allocations: 118.5 kB / 0.5161 GB, free: 89.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006562/0.5769, allocations: 6.316 MB / 0.5223 GB, free: 85.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.5774, allocations: 0.9836 MB / 0.5232 GB, free: 84.65 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004755/0.5779, allocations: 111.4 kB / 0.5233 GB, free: 84.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003589/0.5782, allocations: 303.8 kB / 0.5236 GB, free: 84.41 MB / 378.7 MB Notification: Performance of SimCode: time 5.2e-06/0.5782, allocations: 0 / 0.5236 GB, free: 84.41 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.6029, allocations: 15.24 MB / 0.5385 GB, free: 72.44 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.6032, allocations: 253.1 kB / 0.5388 GB, free: 72.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.41/3.013, allocations: 0 / 0.5388 GB, free: 72.1 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat