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.001423/0.001423, allocations: 177 kB / 8.699 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008831/0.0008833, allocations: 86.2 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.588e-05, allocations: 0 / 315.6 MB, free: 22.64 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 47.58 MB / 363.2 MB, free: 6.996 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3692/0.4746, allocations: 86.47 MB / 449.6 MB, free: 8.992 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.475, allocations: 83.89 kB / 449.7 MB, free: 8.949 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04497/0.5199, allocations: 15.7 MB / 465.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.52, allocations: 0 / 465.4 MB, free: 11.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001421/0.5201, allocations: 20 kB / 465.4 MB, free: 11.92 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.001858/0.522, allocations: 0.9748 MB / 466.4 MB, free: 10.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.5221, allocations: 12.03 kB / 466.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.5223, allocations: 94.88 kB / 466.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009783/0.5232, allocations: 0.5314 MB / 467.1 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.5234, allocations: 33.3 kB / 467.1 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.07e-05/0.5235, allocations: 40 kB / 467.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008521/0.5243, allocations: 477.7 kB / 467.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009741/0.5253, allocations: 0.5159 MB / 468.1 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.5253, allocations: 0 / 468.1 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.847e-05/0.5254, allocations: 0 / 468.1 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.5254, allocations: 16 kB / 468.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003914/0.5293, allocations: 2.535 MB / 470.7 MB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006059/0.53, allocations: 437.3 kB / 471.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.5304, allocations: 258.7 kB / 471.3 MB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.774e-05/0.5305, allocations: 15.98 kB / 471.4 MB, free: 7.148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.5305, allocations: 34 kB / 471.4 MB, free: 7.109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 2.004e-06/0.5305, allocations: 0 / 471.4 MB, free: 7.109 MB / 346.7 MB Notification: Performance of matching and sorting (n=66): time 0.002043/0.5326, allocations: 0.955 MB / 472.3 MB, free: 6.355 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.5326, allocations: 67.84 kB / 472.4 MB, free: 6.277 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009846/0.5336, allocations: 0.7503 MB / 473.2 MB, free: 5.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.5337, allocations: 25.7 kB / 473.2 MB, free: 5.684 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002665/0.5339, allocations: 405.8 kB / 473.6 MB, free: 5.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.5341, allocations: 213.4 kB / 473.8 MB, free: 5.219 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.5341, allocations: 0 / 473.8 MB, free: 5.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5343, allocations: 385.1 kB / 474.2 MB, free: 4.863 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.5346, allocations: 197.1 kB / 474.4 MB, free: 4.754 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.535, allocations: 289.3 kB / 474.6 MB, free: 4.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/0.5353, allocations: 226.1 kB / 474.9 MB, free: 4.406 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5353, allocations: 0 / 474.9 MB, free: 4.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001016/0.5364, allocations: 0.6025 MB / 475.5 MB, free: 3.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.5364, allocations: 8 kB / 475.5 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5364, allocations: 0 / 475.5 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.5364, allocations: 8 kB / 475.5 MB, free: 3.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00086/0.5373, allocations: 198.7 kB / 475.7 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.5373, allocations: 4 kB / 475.7 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006355/0.538, allocations: 55.72 kB / 475.7 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.538, allocations: 27.36 kB / 475.8 MB, free: 3.676 MB / 346.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.000143/0.5382, allocations: 112.9 kB / 475.9 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007411/0.5389, allocations: 487.7 kB / 476.3 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.539, allocations: 75.06 kB / 476.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009836/0.54, allocations: 0.5169 MB / 476.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.5401, allocations: 15.95 kB / 476.9 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5401, allocations: 0 / 476.9 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.5401, allocations: 3.984 kB / 477 MB, free: 2.746 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.5427, allocations: 1.733 MB / 478.7 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.5427, allocations: 4 kB / 478.7 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006351/0.5433, allocations: 154.4 kB / 478.8 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.5434, allocations: 4 kB / 478.8 MB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/0.5434, allocations: 4 kB / 478.8 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/0.5434, allocations: 11.95 kB / 478.9 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.5434, allocations: 11.92 kB / 478.9 MB, free: 1.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009822/0.5444, allocations: 0.7768 MB / 479.6 MB, free: 424 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/0.5447, allocations: 239.2 kB / 479.9 MB, free: 212 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.052e-05/0.5448, allocations: 4 kB / 479.9 MB, free: 208 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.5453, allocations: 43.95 kB / 479.9 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.861e-05/0.5454, allocations: 51.39 kB / 480 MB, free: 120 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-05/0.5455, allocations: 19.12 kB / 480 MB, free: 104 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007313/0.5462, allocations: 0.5938 MB / 480.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5462, allocations: 4 kB / 480.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006597/0.5469, allocations: 151.9 kB / 480.7 MB, free: 15.37 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.002144/0.549, allocations: 2.299 MB / 483 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008948/0.55, allocations: 494.1 kB / 483.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.55, allocations: 0 / 483.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.5504, allocations: 254 kB / 483.8 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007917/0.5512, allocations: 93.23 kB / 483.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.5539, allocations: 1.301 MB / 485.2 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005763/0.5545, allocations: 0.9823 MB / 486.1 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004532/0.555, allocations: 100.8 kB / 486.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/0.5555, allocations: 295.3 kB / 486.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of SimCode: time 2.474e-06/0.5556, allocations: 0 / 486.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04289/0.5985, allocations: 13.63 MB / 0.4884 GB, free: 11.71 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.5988, allocations: 207 kB / 0.4886 GB, free: 11.44 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.413/3.012, allocations: 4.031 kB / 0.4886 GB, free: 11.44 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