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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008371/0.0008371, allocations: 93.95 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009909/0.000991, allocations: 179.2 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005315/0.0005317, allocations: 12 kB / 280.9 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.09006, allocations: 47.57 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004334/0.09443, allocations: 3.676 MB / 332.1 MB, free: 316 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003718/0.09819, allocations: 1.662 MB / 333.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005126/0.09874, allocations: 11.94 kB / 333.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007353/0.09949, allocations: 382.8 kB / 334.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009116/0.1004, allocations: 426.8 kB / 334.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006188/0.101, allocations: 203.6 kB / 334.8 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009471/0.102, allocations: 0.6319 MB / 335.4 MB, free: 13 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003966/0.1024, allocations: 220.2 kB / 335.6 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004938/0.1029, allocations: 334.9 kB / 335.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004697/0.1034, allocations: 402.5 kB / 336.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.649e-05/0.1035, allocations: 43.94 kB / 336.4 MB, free: 12.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.1036, allocations: 55.92 kB / 336.4 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.1038, allocations: 163.4 kB / 336.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.104, allocations: 177.3 kB / 336.8 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008225/0.1048, allocations: 0.9933 MB / 337.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1048, allocations: 4 kB / 337.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.1048, allocations: 3.984 kB / 337.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.087e-05/0.1048, allocations: 3.938 kB / 337.8 MB, free: 10.61 MB / 286.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.002036/0.1069, allocations: 1.082 MB / 338.8 MB, free: 9.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.1069, allocations: 12.03 kB / 338.9 MB, free: 9.469 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001273/0.1071, allocations: 102.5 kB / 339 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.1072, allocations: 98.83 kB / 339.1 MB, free: 9.262 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008188/0.1081, allocations: 0.527 MB / 339.6 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.901e-05/0.1082, allocations: 49.31 kB / 339.6 MB, free: 8.641 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.63e-05/0.1083, allocations: 59.91 kB / 339.7 MB, free: 8.582 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1095, allocations: 0.6596 MB / 340.3 MB, free: 7.906 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.1095, allocations: 4 kB / 340.4 MB, free: 7.902 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/0.1096, allocations: 24 kB / 340.4 MB, free: 7.879 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.1096, allocations: 20 kB / 340.4 MB, free: 7.859 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.1108, allocations: 0.5907 MB / 341 MB, free: 7.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00382/0.1147, allocations: 2.56 MB / 343.5 MB, free: 4.566 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/0.1156, allocations: 485.8 kB / 344 MB, free: 4.082 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.268e-05/0.1157, allocations: 16.38 kB / 344 MB, free: 4.066 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.1157, allocations: 35 kB / 344.1 MB, free: 4.023 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.785e-06/0.1157, allocations: 0 / 344.1 MB, free: 4.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=60): time 0.004536/0.1203, allocations: 1.637 MB / 345.7 MB, free: 2.383 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.1204, allocations: 55.97 kB / 345.8 MB, free: 2.316 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.1215, allocations: 0.9458 MB / 346.7 MB, free: 1.363 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.1215, allocations: 37.7 kB / 346.7 MB, free: 1.32 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.1218, allocations: 404 kB / 347.1 MB, free: 0.918 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.122, allocations: 201 kB / 347.3 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.1221, allocations: 12 kB / 347.3 MB, free: 0.707 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1222, allocations: 330 kB / 347.7 MB, free: 388 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005912/0.1228, allocations: 261.2 kB / 347.9 MB, free: 128 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/0.1235, allocations: 367.6 kB / 348.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/0.1241, allocations: 283.1 kB / 348.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1241, allocations: 4 kB / 348.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001518/0.1257, allocations: 0.7619 MB / 349.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.1257, allocations: 11.95 kB / 349.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.1257, allocations: 0 / 349.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.1258, allocations: 11.94 kB / 349.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000774/0.1265, allocations: 183.8 kB / 349.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.1266, allocations: 8 kB / 349.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.1271, allocations: 47.97 kB / 349.6 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.546e-05/0.1271, allocations: 23.98 kB / 349.6 MB, free: 14.4 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 (82): * Single equations (assignments): 82 * 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.0003637/0.1275, allocations: 265.7 kB / 349.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.1276, allocations: 83 kB / 349.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.129, allocations: 0.6631 MB / 350.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.129, allocations: 8 kB / 350.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.324e-05/0.1291, allocations: 4 kB / 350.6 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1291, allocations: 7.922 kB / 350.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.132, allocations: 1.819 MB / 352.4 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.132, allocations: 8.234 kB / 352.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/0.1326, allocations: 139.8 kB / 352.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.1326, allocations: 4 kB / 352.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.1327, allocations: 16 kB / 352.6 MB, free: 11.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.337e-06/0.1327, allocations: 7.953 kB / 352.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1327, allocations: 0 / 352.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.1341, allocations: 0.8582 MB / 353.5 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002857/0.1344, allocations: 208 kB / 353.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.68e-05/0.1345, allocations: 12 kB / 353.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.1349, allocations: 51.95 kB / 353.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.62e-05/0.135, allocations: 40.33 kB / 353.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/0.135, allocations: 23.97 kB / 353.8 MB, free: 9.953 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007758/0.1358, allocations: 0.6904 MB / 354.5 MB, free: 9.266 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1358, allocations: 0 / 354.5 MB, free: 9.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005555/0.1364, allocations: 152 kB / 354.6 MB, free: 9.117 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (60): * Single equations (assignments): 60 * 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.002424/0.1388, allocations: 2.205 MB / 356.9 MB, free: 6.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.1402, allocations: 0.6087 MB / 357.5 MB, free: 6.238 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1402, allocations: 8.062 kB / 357.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005998/0.1408, allocations: 310.7 kB / 357.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006521/0.1415, allocations: 114.8 kB / 357.9 MB, free: 5.812 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007676/0.1492, allocations: 6.144 MB / 364 MB, free: 15.49 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.1497, allocations: 0.9789 MB / 365 MB, free: 14.48 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004362/0.1502, allocations: 93.02 kB / 365.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/0.1506, allocations: 287.3 kB / 365.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1506, allocations: 0 / 365.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.1787, allocations: 13.99 MB / 379.4 MB, free: 96 kB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1636/0.3423, allocations: 248.2 kB / 379.6 MB, free: 59.98 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.305, allocations: 0 / 379.6 MB, free: 59.98 MB / 318.1 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) Environment - environmentSimulation: 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