Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 102 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002734/0.0002736, allocations: 8 kB / 306.8 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.112, allocations: 51.49 MB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004915/0.1169, allocations: 4.007 MB / 362.3 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003438/0.1204, allocations: 1.844 MB / 364.2 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004396/0.1209, allocations: 11.94 kB / 364.2 MB, free: 7.883 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.1216, allocations: 394.7 kB / 364.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008505/0.1225, allocations: 410 kB / 365 MB, free: 7.094 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006937/0.1232, allocations: 207.4 kB / 365.2 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001048/0.1243, allocations: 0.9032 MB / 366.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004116/0.1247, allocations: 223.9 kB / 366.3 MB, free: 5.762 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005276/0.1252, allocations: 334.8 kB / 366.6 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005032/0.1257, allocations: 422.4 kB / 367 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.992e-05/0.1258, allocations: 36 kB / 367.1 MB, free: 4.984 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000193/0.126, allocations: 71.92 kB / 367.1 MB, free: 4.914 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.1262, allocations: 175.3 kB / 367.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.1264, allocations: 185.3 kB / 367.5 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009293/0.1273, allocations: 0.9936 MB / 368.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1273, allocations: 0 / 368.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1273, allocations: 3.938 kB / 368.5 MB, free: 3.555 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1274, allocations: 0 / 368.5 MB, free: 3.555 MB / 302.1 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.002025/0.1294, allocations: 1.097 MB / 369.6 MB, free: 2.406 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.71e-05/0.1295, allocations: 8.031 kB / 369.6 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.1296, allocations: 102.5 kB / 369.7 MB, free: 2.289 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004658/0.1301, allocations: 122.8 kB / 369.8 MB, free: 2.168 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008099/0.1309, allocations: 0.5387 MB / 370.3 MB, free: 1.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.131, allocations: 57.25 kB / 370.4 MB, free: 1.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-05/0.1311, allocations: 63.91 kB / 370.5 MB, free: 1.473 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.1324, allocations: 0.6596 MB / 371.1 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.1325, allocations: 0 / 371.1 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/0.1325, allocations: 24 kB / 371.1 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.1326, allocations: 16 kB / 371.2 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.1339, allocations: 0.5907 MB / 371.7 MB, free: 172 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2234/0.3573, allocations: 2.552 MB / 374.3 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.3584, allocations: 486 kB / 374.8 MB, free: 17.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007538/0.3592, allocations: 311.2 kB / 375.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.113e-05/0.3593, allocations: 9.031 kB / 375.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3593, allocations: 41.94 kB / 375.1 MB, free: 17.81 MB / 302.1 MB Notification: Performance of pre-optimization done (n=48): time 2.785e-06/0.3593, allocations: 0 / 375.1 MB, free: 17.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.004514/0.3638, allocations: 1.648 MB / 376.8 MB, free: 17.41 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.3639, allocations: 59.77 kB / 376.8 MB, free: 17.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.365, allocations: 0.9545 MB / 377.8 MB, free: 16.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.3651, allocations: 36.33 kB / 377.8 MB, free: 16.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.3653, allocations: 409.7 kB / 378.2 MB, free: 16.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.3654, allocations: 207.7 kB / 378.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.3655, allocations: 11.38 kB / 378.4 MB, free: 16.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.579e-05/0.3656, allocations: 335.8 kB / 378.8 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005895/0.3662, allocations: 262 kB / 379 MB, free: 16.04 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006234/0.3668, allocations: 371.5 kB / 379.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006234/0.3674, allocations: 287.4 kB / 379.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3674, allocations: 5.297 kB / 379.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001518/0.369, allocations: 0.775 MB / 380.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.369, allocations: 5.531 kB / 380.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.369, allocations: 3.828 kB / 380.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.369, allocations: 4.906 kB / 380.5 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/0.3698, allocations: 189.3 kB / 380.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.3698, allocations: 4.188 kB / 380.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.3703, allocations: 50.86 kB / 380.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.3704, allocations: 28.62 kB / 380.7 MB, free: 15.39 MB / 302.1 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 (83): * Single equations (assignments): 83 * 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.0003612/0.3708, allocations: 270.5 kB / 381 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3709, allocations: 77.98 kB / 381.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.3723, allocations: 0.6666 MB / 381.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/0.3723, allocations: 8.75 kB / 381.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.3724, allocations: 0.5156 kB / 381.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.3724, allocations: 6.422 kB / 381.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.3753, allocations: 1.857 MB / 383.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.3754, allocations: 2.75 kB / 383.6 MB, free: 13.79 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005671/0.3759, allocations: 140.7 kB / 383.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/0.3759, allocations: 7.578 kB / 383.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/0.376, allocations: 18.36 kB / 383.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.376, allocations: 5.703 kB / 383.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.376, allocations: 6.75 kB / 383.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.3773, allocations: 0.78 MB / 384.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.3776, allocations: 210.9 kB / 384.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.983e-05/0.3777, allocations: 14.5 kB / 384.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.3781, allocations: 55.66 kB / 384.8 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.3782, allocations: 46.47 kB / 384.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.3783, allocations: 19.7 kB / 384.9 MB, free: 13.09 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009094/0.3792, allocations: 0.688 MB / 385.6 MB, free: 12.83 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3792, allocations: 4 kB / 385.6 MB, free: 12.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006764/0.3799, allocations: 152.5 kB / 385.7 MB, free: 12.8 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (61): * Single equations (assignments): 61 * 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.002181/0.382, allocations: 1.592 MB / 387.3 MB, free: 11.75 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001434/0.3835, allocations: 0.6125 MB / 387.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3835, allocations: 0.875 kB / 387.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006134/0.3841, allocations: 310.5 kB / 388.2 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/0.385, allocations: 119.8 kB / 388.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008055/0.393, allocations: 4.924 MB / 393.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.3935, allocations: 0.963 MB / 394.3 MB, free: 8.082 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004751/0.394, allocations: 97.12 kB / 394.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/0.3943, allocations: 302 kB / 394.6 MB, free: 7.777 MB / 302.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3943, allocations: 0 / 394.6 MB, free: 7.777 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02492/0.4193, allocations: 14.2 MB / 408.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.4195, allocations: 262.7 kB / 409.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/2.58, allocations: 0 / 409.1 MB, free: 10.93 MB / 318.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat does not exist to compare? outputFormat=mat