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.001359/0.001359, allocations: 181.4 kB / 17.01 MB, free: 5.125 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.341/1.341, allocations: 205.4 MB / 223.1 MB, free: 9.031 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.000808/0.000808, allocations: 93.16 kB / 271.5 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000228/0.000228, allocations: 8 kB / 328.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.22, allocations: 47.56 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09498/0.315, allocations: 86.98 MB / 462.9 MB, free: 9.656 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/0.3153, allocations: 87.95 kB / 463 MB, free: 9.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04533/0.3607, allocations: 15.86 MB / 478.8 MB, free: 9.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3607, allocations: 4 kB / 478.8 MB, free: 9.656 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.525e-05/0.3608, allocations: 23.94 kB / 478.9 MB, free: 9.633 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.002272/0.3631, allocations: 1.086 MB / 479.9 MB, free: 8.496 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3631, allocations: 8.031 kB / 480 MB, free: 8.488 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/0.3633, allocations: 102.5 kB / 480.1 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.3635, allocations: 95.56 kB / 480.1 MB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008944/0.3644, allocations: 0.5349 MB / 480.7 MB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.3645, allocations: 53.3 kB / 480.7 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-05/0.3646, allocations: 63.91 kB / 480.8 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.3659, allocations: 0.6635 MB / 481.5 MB, free: 6.914 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.366, allocations: 3.984 kB / 481.5 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.033e-05/0.3661, allocations: 28 kB / 481.5 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.3661, allocations: 12 kB / 481.5 MB, free: 6.871 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.3675, allocations: 0.6103 MB / 482.1 MB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/0.3716, allocations: 2.651 MB / 484.8 MB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3726, allocations: 0.5159 MB / 485.3 MB, free: 2.945 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.3727, allocations: 8.422 kB / 485.3 MB, free: 2.938 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.3727, allocations: 43 kB / 485.3 MB, free: 2.887 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.285e-06/0.3727, allocations: 0 / 485.3 MB, free: 2.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.004841/0.3776, allocations: 1.734 MB / 487.1 MB, free: 1.152 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.3776, allocations: 63.91 kB / 487.1 MB, free: 1.078 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.3789, allocations: 0.8512 MB / 488 MB, free: 224 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.3789, allocations: 37.7 kB / 488 MB, free: 180 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.3792, allocations: 404.1 kB / 488.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.3794, allocations: 212.7 kB / 488.6 MB, free: 15.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.3795, allocations: 16 kB / 488.6 MB, free: 15.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3796, allocations: 333.9 kB / 489 MB, free: 15.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/0.3803, allocations: 277.9 kB / 489.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007218/0.381, allocations: 379.1 kB / 489.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006951/0.3817, allocations: 311.1 kB / 489.9 MB, free: 14.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3817, allocations: 4 kB / 489.9 MB, free: 14.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001663/0.3834, allocations: 0.7932 MB / 490.7 MB, free: 13.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3834, allocations: 12.88 kB / 490.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3834, allocations: 4 kB / 490.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3835, allocations: 4 kB / 490.7 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008488/0.3843, allocations: 195.8 kB / 490.9 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/0.3843, allocations: 11.94 kB / 490.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.3849, allocations: 63.95 kB / 491 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/0.385, allocations: 23.98 kB / 491 MB, free: 13.13 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.0003484/0.3854, allocations: 269.7 kB / 491.3 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.3855, allocations: 82.97 kB / 491.4 MB, free: 12.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00152/0.387, allocations: 0.6983 MB / 492.1 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.3871, allocations: 11.98 kB / 492.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3871, allocations: 3.953 kB / 492.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3871, allocations: 0 / 492.1 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.3904, allocations: 1.971 MB / 494 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3904, allocations: 0 / 494 MB, free: 9.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006509/0.3911, allocations: 148.1 kB / 494.2 MB, free: 9.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.3911, allocations: 8 kB / 494.2 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.3911, allocations: 16 kB / 494.2 MB, free: 9.789 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.3912, allocations: 7.938 kB / 494.2 MB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3912, allocations: 7.953 kB / 494.2 MB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.3927, allocations: 0.9167 MB / 495.1 MB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003881/0.3931, allocations: 244 kB / 495.4 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/0.3932, allocations: 16 kB / 495.4 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/0.3937, allocations: 55.95 kB / 495.4 MB, free: 8.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.611e-05/0.3938, allocations: 40.5 kB / 495.5 MB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.832e-05/0.3939, allocations: 23.95 kB / 495.5 MB, free: 8.367 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009347/0.3948, allocations: 0.6786 MB / 496.2 MB, free: 7.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3948, allocations: 3.938 kB / 496.2 MB, free: 7.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006114/0.3955, allocations: 180 kB / 496.4 MB, free: 7.512 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.002984/0.3985, allocations: 2.363 MB / 498.7 MB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.3999, allocations: 0.6484 MB / 499.4 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3999, allocations: 0 / 499.4 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006706/0.4006, allocations: 339.9 kB / 499.7 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005992/0.4012, allocations: 110.9 kB / 499.8 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1633/0.5646, allocations: 6.308 MB / 0.4943 GB, free: 105.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/0.5651, allocations: 0.9834 MB / 0.4952 GB, free: 104.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00056/0.5657, allocations: 109.9 kB / 0.4953 GB, free: 104.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004278/0.5661, allocations: 302.8 kB / 0.4956 GB, free: 104.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5661, allocations: 0 / 0.4956 GB, free: 104.8 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02716/0.5933, allocations: 15.26 MB / 0.5105 GB, free: 102 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.5935, allocations: 257.5 kB / 0.5108 GB, free: 101.7 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.252/2.846, allocations: 0 / 0.5108 GB, free: 101.7 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