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.001483/0.001483, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009999/0.0009999, allocations: 94.19 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.964e-05/1.96e-05, allocations: 4 kB / 337.1 MB, free: 9.93 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0961/0.09614, allocations: 50.42 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3384/0.4346, allocations: 88.79 MB / 476.4 MB, free: 5.891 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.4349, allocations: 87.95 kB / 476.4 MB, free: 5.805 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04338/0.4783, allocations: 16.14 MB / 492.6 MB, free: 5.629 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.4784, allocations: 0 / 492.6 MB, free: 5.629 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.264e-05/0.4785, allocations: 19.94 kB / 492.6 MB, free: 5.609 MB / 362.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.001769/0.4802, allocations: 0.9792 MB / 493.6 MB, free: 4.586 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.4803, allocations: 8.031 kB / 493.6 MB, free: 4.578 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001581/0.4805, allocations: 98.88 kB / 493.7 MB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008775/0.4813, allocations: 0.5271 MB / 494.2 MB, free: 3.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.4815, allocations: 33.94 kB / 494.2 MB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.81e-05/0.4816, allocations: 36 kB / 494.3 MB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008801/0.4824, allocations: 478.4 kB / 494.7 MB, free: 3.375 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009141/0.4834, allocations: 0.5206 MB / 495.3 MB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.4834, allocations: 3.984 kB / 495.3 MB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.4834, allocations: 4 kB / 495.3 MB, free: 2.832 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.4835, allocations: 16 kB / 495.3 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/0.4874, allocations: 2.532 MB / 497.8 MB, free: 156 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.4881, allocations: 435.6 kB / 498.2 MB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00045/0.4886, allocations: 250.5 kB / 498.5 MB, free: 15.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.4886, allocations: 12.44 kB / 498.5 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.4887, allocations: 46.98 kB / 498.6 MB, free: 15.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 2.935e-06/0.4887, allocations: 0 / 498.6 MB, free: 15.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002161/0.4909, allocations: 0.9531 MB / 499.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.4909, allocations: 59.97 kB / 499.6 MB, free: 14.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.4919, allocations: 0.7495 MB / 0.4886 GB, free: 13.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.492, allocations: 25.7 kB / 0.4886 GB, free: 13.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.4923, allocations: 399.6 kB / 0.489 GB, free: 13.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.4924, allocations: 220.8 kB / 0.4892 GB, free: 12.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.4925, allocations: 0 / 0.4892 GB, free: 12.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.4926, allocations: 394.7 kB / 0.4896 GB, free: 12.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.493, allocations: 189.5 kB / 0.4898 GB, free: 12.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.4933, allocations: 287.5 kB / 0.49 GB, free: 12.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.4937, allocations: 228.5 kB / 0.4903 GB, free: 11.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4937, allocations: 0 / 0.4903 GB, free: 11.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000944/0.4947, allocations: 0.6088 MB / 0.4908 GB, free: 11.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4947, allocations: 4 kB / 0.4908 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.4947, allocations: 4 kB / 0.4909 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.4947, allocations: 4 kB / 0.4909 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008583/0.4956, allocations: 191.8 kB / 0.491 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.4956, allocations: 8.031 kB / 0.491 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.4962, allocations: 47.89 kB / 0.4911 GB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.4963, allocations: 31.98 kB / 0.4911 GB, free: 10.96 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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.0001321/0.4964, allocations: 118.3 kB / 0.4912 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007712/0.4972, allocations: 482.2 kB / 0.4917 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.4973, allocations: 79 kB / 0.4918 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009082/0.4982, allocations: 0.5187 MB / 0.4923 GB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.4982, allocations: 8 kB / 0.4923 GB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.4983, allocations: 3.984 kB / 0.4923 GB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4983, allocations: 0 / 0.4923 GB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.5008, allocations: 1.738 MB / 0.494 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5008, allocations: 0 / 0.494 GB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.5015, allocations: 156.2 kB / 0.4941 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.5015, allocations: 4 kB / 0.4941 GB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.5015, allocations: 7.984 kB / 0.4941 GB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.5015, allocations: 11.88 kB / 0.4942 GB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.5015, allocations: 4 kB / 0.4942 GB, free: 7.711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008893/0.5024, allocations: 0.7872 MB / 0.4949 GB, free: 6.805 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.5028, allocations: 236.1 kB / 0.4952 GB, free: 6.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/0.5029, allocations: 7.984 kB / 0.4952 GB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.5033, allocations: 47.95 kB / 0.4952 GB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/0.5034, allocations: 48.41 kB / 0.4953 GB, free: 6.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.5035, allocations: 23.98 kB / 0.4953 GB, free: 6.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006928/0.5042, allocations: 0.5851 MB / 0.4958 GB, free: 5.852 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5042, allocations: 4 kB / 0.4959 GB, free: 5.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006413/0.5048, allocations: 160 kB / 0.496 GB, free: 5.691 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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.001967/0.5068, allocations: 2.295 MB / 0.4982 GB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008075/0.5076, allocations: 486.2 kB / 0.4987 GB, free: 2.887 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5076, allocations: 4 kB / 0.4987 GB, free: 2.883 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.508, allocations: 258.7 kB / 0.499 GB, free: 2.633 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006234/0.5086, allocations: 97.2 kB / 0.4991 GB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.5111, allocations: 1.282 MB / 0.5003 GB, free: 1.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.5117, allocations: 0.99 MB / 0.5013 GB, free: 168 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000449/0.5121, allocations: 112.8 kB / 0.5014 GB, free: 56 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004267/0.5126, allocations: 295.3 kB / 0.5017 GB, free: 15.76 MB / 394.7 MB Notification: Performance of SimCode: time 6.62e-07/0.5126, allocations: 3.938 kB / 0.5017 GB, free: 15.76 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03909/0.5517, allocations: 13.64 MB / 0.515 GB, free: 2.184 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.552, allocations: 218.2 kB / 0.5152 GB, free: 1.906 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.846, allocations: 0 / 0.5152 GB, free: 1.906 MB / 394.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