Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary",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.00104/0.00104, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.282/1.282, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.0007272/0.000727, allocations: 98.58 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.0002658, allocations: 8 kB / 328.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2289, allocations: 47.56 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1054/0.3343, allocations: 92.08 MB / 468 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.3347, allocations: 91.94 kB / 468.1 MB, free: 4.449 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2847/0.6195, allocations: 50.05 MB / 0.506 GB, free: 95.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6195, allocations: 0 / 0.506 GB, free: 95.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002365/0.6197, allocations: 54.38 kB / 0.506 GB, free: 95.51 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.007471/0.6272, allocations: 2.615 MB / 0.5086 GB, free: 94.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.6273, allocations: 11.66 kB / 0.5086 GB, free: 94.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009336/0.6282, allocations: 290.1 kB / 0.5089 GB, free: 94.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.6293, allocations: 289.4 kB / 0.5092 GB, free: 94.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003491/0.6328, allocations: 1.346 MB / 0.5105 GB, free: 93.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.633, allocations: 153.5 kB / 0.5106 GB, free: 93.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005983/0.6336, allocations: 209.8 kB / 0.5108 GB, free: 93.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004865/0.6385, allocations: 1.91 MB / 0.5127 GB, free: 93.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.896e-05/0.6386, allocations: 6.562 kB / 0.5127 GB, free: 93.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003099/0.6389, allocations: 88.28 kB / 0.5128 GB, free: 93.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.411e-05/0.6389, allocations: 49.34 kB / 0.5128 GB, free: 93.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004312/0.6432, allocations: 2.007 MB / 0.5148 GB, free: 92.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.6548, allocations: 7.601 MB / 0.5222 GB, free: 88.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/0.6578, allocations: 2.362 MB / 0.5245 GB, free: 87.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.658, allocations: 35.45 kB / 0.5245 GB, free: 87.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.658, allocations: 62.03 kB / 0.5246 GB, free: 87.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=240): time 4.167e-06/0.658, allocations: 0 / 0.5246 GB, free: 87.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=375): time 0.06144/0.7195, allocations: 19.03 MB / 0.5432 GB, free: 71.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.09371/0.8132, allocations: 34.5 MB / 0.5769 GB, free: 36.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003857/0.8171, allocations: 1.643 MB / 0.5785 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007347/0.8179, allocations: 85.7 kB / 0.5786 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008185/0.8187, allocations: 0.9621 MB / 0.5795 GB, free: 33.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001301/0.82, allocations: 1.239 MB / 0.5807 GB, free: 32.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004806/0.8205, allocations: 72 kB / 0.5808 GB, free: 32.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001992/0.8207, allocations: 433.2 kB / 0.5812 GB, free: 31.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002876/0.8236, allocations: 1.35 MB / 0.5825 GB, free: 30.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002775/0.8264, allocations: 1.641 MB / 0.5841 GB, free: 28.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002984/0.8294, allocations: 1.539 MB / 0.5856 GB, free: 27.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.8294, allocations: 0 / 0.5856 GB, free: 27.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01071/0.8402, allocations: 4.756 MB / 0.5903 GB, free: 22.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.8402, allocations: 7.984 kB / 0.5903 GB, free: 22.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/0.8402, allocations: 7.938 kB / 0.5903 GB, free: 22.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005241/0.8455, allocations: 1.393 MB / 0.5917 GB, free: 21.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/0.8485, allocations: 0.5773 MB / 0.5922 GB, free: 20.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/0.8705, allocations: 19.62 MB / 0.6114 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003293/0.8738, allocations: 167.9 kB / 0.6115 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000709/0.8746, allocations: 116 kB / 0.6116 GB, free: 15.65 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 307 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 2 {3 54,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.002201/0.8768, allocations: 0.5938 MB / 0.6122 GB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008879/0.8777, allocations: 264.8 kB / 0.6125 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0124/0.8901, allocations: 4.793 MB / 0.6172 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01028/0.9004, allocations: 4.205 MB / 0.6213 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/0.9005, allocations: 3.625 kB / 0.6213 GB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.155e-05/0.9005, allocations: 23.92 kB / 0.6213 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02134/0.9219, allocations: 9.882 MB / 0.6309 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-05/0.922, allocations: 4 kB / 0.6309 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002885/0.9249, allocations: 0.4955 MB / 0.6314 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005799/0.9307, allocations: 1.416 MB / 0.6328 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005854/0.9313, allocations: 75.97 kB / 0.6329 GB, free: 9.652 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2238/1.155, allocations: 18.14 MB / 0.6506 GB, free: 106.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07896/1.234, allocations: 30.63 MB / 0.6805 GB, free: 95.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01233/1.247, allocations: 6.952 MB / 0.6873 GB, free: 92.49 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/1.248, allocations: 0.6904 MB / 0.688 GB, free: 92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003532/1.248, allocations: 67.34 kB / 0.688 GB, free: 91.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/1.25, allocations: 157.8 kB / 0.6882 GB, free: 91.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006148/1.251, allocations: 283.4 kB / 0.6885 GB, free: 91.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/1.251, allocations: 101.2 kB / 0.6886 GB, free: 91.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001573/1.253, allocations: 1.272 MB / 0.6898 GB, free: 91.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.253, allocations: 0 / 0.6898 GB, free: 91.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003474/1.256, allocations: 1.077 MB / 0.6909 GB, free: 90.62 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 250 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 42,5 55} Notification: Performance of Backend phase and start with SimCode phase: time 0.01274/1.269, allocations: 8.777 MB / 0.6994 GB, free: 82.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007065/1.276, allocations: 4.777 MB / 0.7041 GB, free: 77.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/1.276, allocations: 0 / 0.7041 GB, free: 77.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004431/1.281, allocations: 3.264 MB / 0.7073 GB, free: 74.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/1.283, allocations: 303.5 kB / 0.7076 GB, free: 74.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03281/1.315, allocations: 23.08 MB / 0.7301 GB, free: 52.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/1.317, allocations: 1.838 MB / 0.7319 GB, free: 50.42 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002195/1.319, allocations: 328.5 kB / 0.7322 GB, free: 50.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/1.32, allocations: 1.085 MB / 0.7333 GB, free: 49.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/1.32, allocations: 0 / 0.7333 GB, free: 49.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3033/1.624, allocations: 86.03 MB / 0.8173 GB, free: 119.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001797/1.624, allocations: 287.3 kB / 0.8176 GB, free: 119.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.143/6.767, allocations: 0 / 0.8176 GB, free: 119.2 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStationary.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat does not exist to compare? outputFormat=mat