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.001147/0.001147, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.297/1.297, allocations: 205.2 MB / 219.8 MB, free: 14.28 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.0008062/0.0008064, allocations: 90.62 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.767e-05, allocations: 0 / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08006/0.0801, allocations: 47.57 MB / 370.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3069/0.387, allocations: 91.99 MB / 462.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.3873, allocations: 86.98 kB / 462.2 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.135/0.5223, allocations: 50.07 MB / 0.5003 GB, free: 480 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5224, allocations: 4 kB / 0.5003 GB, free: 476 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001953/0.5226, allocations: 52 kB / 0.5003 GB, free: 424 kB / 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.006625/0.5292, allocations: 2.303 MB / 0.5026 GB, free: 14.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5293, allocations: 8.031 kB / 0.5026 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008413/0.5301, allocations: 287.4 kB / 0.5028 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.5312, allocations: 300.4 kB / 0.5031 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003404/0.5346, allocations: 1.333 MB / 0.5044 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000149/0.5348, allocations: 156.1 kB / 0.5046 GB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005234/0.5353, allocations: 204 kB / 0.5048 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004266/0.5396, allocations: 1.78 MB / 0.5065 GB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.053e-05/0.5397, allocations: 7.906 kB / 0.5065 GB, free: 9.867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002277/0.5399, allocations: 84 kB / 0.5066 GB, free: 9.785 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.737e-05/0.54, allocations: 51.95 kB / 0.5066 GB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003649/0.5437, allocations: 1.766 MB / 0.5084 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/0.558, allocations: 7.602 MB / 0.5158 GB, free: 76 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/0.5613, allocations: 2.249 MB / 0.518 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002243/0.5635, allocations: 1.292 MB / 0.5193 GB, free: 12.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.5637, allocations: 37.97 kB / 0.5193 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/0.5638, allocations: 60.56 kB / 0.5193 GB, free: 12.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=240): time 4.739e-06/0.5638, allocations: 4 kB / 0.5194 GB, free: 12.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=372): time 0.2429/0.8067, allocations: 15.27 MB / 0.5343 GB, free: 106.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06619/0.8729, allocations: 30.85 MB / 0.5644 GB, free: 94.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002494/0.8754, allocations: 1.627 MB / 0.566 GB, free: 93.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005558/0.876, allocations: 87.08 kB / 0.5661 GB, free: 93.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005301/0.8765, allocations: 0.9642 MB / 0.567 GB, free: 92.69 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009026/0.8774, allocations: 1.228 MB / 0.5682 GB, free: 91.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.8776, allocations: 64.84 kB / 0.5683 GB, free: 91.83 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.8778, allocations: 441.8 kB / 0.5687 GB, free: 91.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.8797, allocations: 1.25 MB / 0.5699 GB, free: 90.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00208/0.8818, allocations: 1.538 MB / 0.5714 GB, free: 90.15 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002192/0.884, allocations: 1.437 MB / 0.5728 GB, free: 89.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.455e-06/0.884, allocations: 0 / 0.5728 GB, free: 89.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=433) (initialization): time 0.009163/0.8932, allocations: 4.558 MB / 0.5773 GB, free: 87.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.8932, allocations: 7.766 kB / 0.5773 GB, free: 87.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.8933, allocations: 6.859 kB / 0.5773 GB, free: 87.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004928/0.8982, allocations: 1.353 MB / 0.5786 GB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.901, allocations: 0.5791 MB / 0.5792 GB, free: 87.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.021/0.922, allocations: 19.23 MB / 0.5979 GB, free: 73.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/0.9251, allocations: 170 kB / 0.5981 GB, free: 72.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005827/0.9257, allocations: 120.2 kB / 0.5982 GB, free: 72.93 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (314): * Single equations (assignments): 305 * 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%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 51,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.0006541/0.9264, allocations: 273.1 kB / 0.5985 GB, free: 72.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007142/0.9271, allocations: 263.6 kB / 0.5987 GB, free: 72.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009448/0.9366, allocations: 4.605 MB / 0.6032 GB, free: 69.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007764/0.9444, allocations: 4.021 MB / 0.6072 GB, free: 66.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.9444, allocations: 4 kB / 0.6072 GB, free: 66.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.667e-05/0.9444, allocations: 17.53 kB / 0.6072 GB, free: 66.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01551/0.9599, allocations: 9.767 MB / 0.6167 GB, free: 57.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.96, allocations: 4 kB / 0.6167 GB, free: 57.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/0.9623, allocations: 0.4957 MB / 0.6172 GB, free: 57.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00489/0.9672, allocations: 1.39 MB / 0.6186 GB, free: 56.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000213/0.9674, allocations: 85.19 kB / 0.6186 GB, free: 56.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/0.9857, allocations: 17.68 MB / 0.6359 GB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05112/1.037, allocations: 27.24 MB / 0.6625 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01156/1.048, allocations: 6.674 MB / 0.669 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/1.05, allocations: 0.6967 MB / 0.6697 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/1.05, allocations: 75.94 kB / 0.6698 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/1.052, allocations: 163.6 kB / 0.6699 GB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006987/1.053, allocations: 275 kB / 0.6702 GB, free: 5.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/1.053, allocations: 99.95 kB / 0.6703 GB, free: 5.367 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001662/1.055, allocations: 1.262 MB / 0.6715 GB, free: 4.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.055, allocations: 4 kB / 0.6715 GB, free: 4.109 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003421/1.058, allocations: 1.079 MB / 0.6726 GB, free: 3.035 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 249 * 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%) 2,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 43,4 53} Notification: Performance of Backend phase and start with SimCode phase: time 0.01346/1.072, allocations: 8.526 MB / 0.6809 GB, free: 10.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007729/1.08, allocations: 4.541 MB / 0.6853 GB, free: 5.738 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.08, allocations: 0 / 0.6853 GB, free: 5.738 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004897/1.084, allocations: 3.115 MB / 0.6884 GB, free: 2.531 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/1.086, allocations: 310.2 kB / 0.6887 GB, free: 2.234 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.213/1.299, allocations: 6.509 MB / 0.695 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001722/1.301, allocations: 1.836 MB / 0.6968 GB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001957/1.303, allocations: 323.5 kB / 0.6971 GB, free: 108.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/1.304, allocations: 1.089 MB / 0.6982 GB, free: 108.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.173e-06/1.304, allocations: 0 / 0.6982 GB, free: 108.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1195/1.424, allocations: 87.93 MB / 0.7841 GB, free: 57.04 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001628/1.424, allocations: 254.2 kB / 0.7843 GB, free: 56.71 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.422/6.846, allocations: 0 / 0.7843 GB, free: 56.71 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