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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001363/0.001363, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.324/1.324, allocations: 205.2 MB / 219.8 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007666/0.0007667, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.336e-05/2.339e-05, allocations: 0 / 322.6 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07546/0.0755, allocations: 47.57 MB / 370.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.265/0.3405, allocations: 86.88 MB / 457 MB, free: 6.484 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000201/0.3407, allocations: 79.33 kB / 457.1 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04343/0.3842, allocations: 15.85 MB / 472.9 MB, free: 7.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3842, allocations: 4 kB / 472.9 MB, free: 7.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.247e-05/0.3843, allocations: 20 kB / 473 MB, free: 7.914 MB / 346.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.001722/0.386, allocations: 0.9734 MB / 473.9 MB, free: 6.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.386, allocations: 8.031 kB / 473.9 MB, free: 6.887 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.3862, allocations: 106.5 kB / 474 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.3863, allocations: 95.56 kB / 474.1 MB, free: 6.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007402/0.387, allocations: 0.5348 MB / 474.7 MB, free: 6.098 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.274e-05/0.3872, allocations: 45.31 kB / 474.7 MB, free: 6.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.45e-05/0.3873, allocations: 56 kB / 474.8 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.3884, allocations: 0.6091 MB / 475.4 MB, free: 5.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.3884, allocations: 0 / 475.4 MB, free: 5.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.472e-05/0.3885, allocations: 28 kB / 475.4 MB, free: 5.348 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3885, allocations: 12 kB / 475.4 MB, free: 5.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008204/0.3893, allocations: 0.4971 MB / 475.9 MB, free: 4.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003644/0.393, allocations: 2.663 MB / 478.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007505/0.3937, allocations: 461.1 kB / 479 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.3942, allocations: 278.4 kB / 479.3 MB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.289e-05/0.3943, allocations: 8.422 kB / 479.3 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.3943, allocations: 42.94 kB / 479.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 2.084e-06/0.3943, allocations: 0 / 479.3 MB, free: 1.238 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.003431/0.3977, allocations: 1.371 MB / 480.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.3978, allocations: 55.97 kB / 480.8 MB, free: 15.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.3989, allocations: 0.8396 MB / 481.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.3989, allocations: 37.7 kB / 481.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.3992, allocations: 407.9 kB / 482 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.3993, allocations: 208.9 kB / 482.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.3994, allocations: 16 kB / 482.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.3995, allocations: 341.9 kB / 482.6 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.3998, allocations: 197.6 kB / 482.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004779/0.4003, allocations: 305.1 kB / 483.1 MB, free: 13.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003945/0.4007, allocations: 246.1 kB / 483.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4007, allocations: 0 / 483.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009898/0.4017, allocations: 0.6709 MB / 484 MB, free: 12.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4017, allocations: 4 kB / 484 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4017, allocations: 4 kB / 484 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4018, allocations: 11.95 kB / 484 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/0.4026, allocations: 196 kB / 484.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.4026, allocations: 4 kB / 484.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005216/0.4031, allocations: 63.95 kB / 484.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.4032, allocations: 27.98 kB / 484.3 MB, free: 12.19 MB / 362.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.0001217/0.4033, allocations: 141.9 kB / 484.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.4035, allocations: 82.97 kB / 484.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.4045, allocations: 0.5699 MB / 485.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.4045, allocations: 11.95 kB / 485.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4045, allocations: 0 / 485.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4045, allocations: 4 kB / 485.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/0.4071, allocations: 1.878 MB / 487 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.4071, allocations: 8.031 kB / 487 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006274/0.4077, allocations: 147.8 kB / 487.1 MB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.4077, allocations: 4 kB / 487.1 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.4078, allocations: 23.94 kB / 487.2 MB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4078, allocations: 4 kB / 487.2 MB, free: 9.176 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.4078, allocations: 15.92 kB / 487.2 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008726/0.4087, allocations: 0.8136 MB / 488 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003853/0.4091, allocations: 251.9 kB / 488.2 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.713e-05/0.4092, allocations: 12 kB / 488.3 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004666/0.4097, allocations: 59.95 kB / 488.3 MB, free: 7.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.4098, allocations: 44.45 kB / 488.4 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.4098, allocations: 27.94 kB / 488.4 MB, free: 7.824 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000724/0.4106, allocations: 0.6632 MB / 489.1 MB, free: 7.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4106, allocations: 0 / 489.1 MB, free: 7.164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005712/0.4112, allocations: 180 kB / 489.2 MB, free: 6.988 MB / 362.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.001968/0.4131, allocations: 2.38 MB / 491.6 MB, free: 4.516 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007789/0.4139, allocations: 0.5086 MB / 492.1 MB, free: 4.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4139, allocations: 3.938 kB / 492.1 MB, free: 4.004 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000383/0.4143, allocations: 280.2 kB / 492.4 MB, free: 3.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006439/0.415, allocations: 110.8 kB / 492.5 MB, free: 3.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.4174, allocations: 1.362 MB / 493.9 MB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.418, allocations: 0.9827 MB / 494.8 MB, free: 1.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004766/0.4185, allocations: 109 kB / 495 MB, free: 1.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/0.419, allocations: 295.3 kB / 495.2 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.419, allocations: 0 / 495.2 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.4479, allocations: 15.32 MB / 0.4986 GB, free: 1.426 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.4481, allocations: 232.8 kB / 0.4988 GB, free: 1.188 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.223/2.671, allocations: 0 / 0.4988 GB, free: 1.188 MB / 378.7 MB (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/linux/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 --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) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat