Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Blocks.SelfResettingIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_SelfResettingIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.SelfResettingIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_SelfResettingIntegrator",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.0009503/0.0009504, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.264/1.264, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009481/0.0009481, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1916/0.1916, allocations: 43.56 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002845, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1052, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3058/0.411, allocations: 84.89 MB / 0.5617 GB, free: 14.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001856/0.4112, allocations: 60.28 kB / 0.5618 GB, free: 14.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00233/0.4136, allocations: 0.9897 MB / 0.5628 GB, free: 13.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4136, allocations: 0 / 0.5628 GB, free: 13.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.4136, allocations: 0 / 0.5628 GB, free: 13.9 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003164/0.4139, allocations: 345 kB / 0.5631 GB, free: 13.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.414, allocations: 12.03 kB / 0.5631 GB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.43e-05/0.414, allocations: 37.23 kB / 0.5631 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.414, allocations: 8 kB / 0.5632 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.4142, allocations: 182.2 kB / 0.5633 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.4142, allocations: 4 kB / 0.5633 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.4143, allocations: 3.875 kB / 0.5633 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.4144, allocations: 47.25 kB / 0.5634 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.4144, allocations: 0 / 0.5634 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.4144, allocations: 3.938 kB / 0.5634 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.4144, allocations: 0.9844 kB / 0.5634 GB, free: 13.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.4144, allocations: 18.98 kB / 0.5634 GB, free: 13.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004713/0.4149, allocations: 299 kB / 0.5637 GB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.535e-05/0.415, allocations: 22.2 kB / 0.5637 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.786e-06/0.415, allocations: 0 / 0.5637 GB, free: 12.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.4151, allocations: 59.03 kB / 0.5638 GB, free: 12.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4151, allocations: 0 / 0.5638 GB, free: 12.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.000134/0.4153, allocations: 49.2 kB / 0.5638 GB, free: 12.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.4153, allocations: 55.41 kB / 0.5639 GB, free: 12.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.94e-05/0.4154, allocations: 112 kB / 0.564 GB, free: 12.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.4154, allocations: 25.7 kB / 0.564 GB, free: 12.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.081e-05/0.4155, allocations: 95.73 kB / 0.5641 GB, free: 12.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.336e-05/0.4155, allocations: 11.66 kB / 0.5641 GB, free: 12.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.4155, allocations: 0 / 0.5641 GB, free: 12.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4156, allocations: 325.4 kB / 0.5644 GB, free: 12.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.4156, allocations: 7.688 kB / 0.5644 GB, free: 12.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/0.4157, allocations: 17.16 kB / 0.5644 GB, free: 12.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.932e-05/0.4157, allocations: 7.984 kB / 0.5644 GB, free: 12.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4157, allocations: 0 / 0.5644 GB, free: 12.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.025e-05/0.4158, allocations: 52.95 kB / 0.5645 GB, free: 11.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.4158, allocations: 7.984 kB / 0.5645 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4158, allocations: 0.5312 kB / 0.5645 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.4158, allocations: 8 kB / 0.5645 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.931e-05/0.4159, allocations: 4 kB / 0.5645 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4159, allocations: 3.953 kB / 0.5645 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.4159, allocations: 5.594 kB / 0.5645 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.4159, allocations: 4.625 kB / 0.5645 GB, free: 11.96 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,greaterEqualThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.298e-05/0.416, allocations: 113.3 kB / 0.5646 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.416, allocations: 4 kB / 0.5646 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.4161, allocations: 11.45 kB / 0.5646 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.4161, allocations: 4 kB / 0.5647 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4161, allocations: 4.375 kB / 0.5647 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4161, allocations: 3.953 kB / 0.5647 GB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.4164, allocations: 289.5 kB / 0.5649 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4164, allocations: 4 kB / 0.5649 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.4164, allocations: 7.922 kB / 0.5649 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4164, allocations: 0 / 0.5649 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.4164, allocations: 1.25 kB / 0.5649 GB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4164, allocations: 3.953 kB / 0.565 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4165, allocations: 8 kB / 0.565 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.4166, allocations: 161.5 kB / 0.5651 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.4166, allocations: 77.11 kB / 0.5652 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.4167, allocations: 0 / 0.5652 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.534e-05/0.4167, allocations: 8.016 kB / 0.5652 GB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.628e-05/0.4168, allocations: 7.953 kB / 0.5652 GB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.4168, allocations: 0 / 0.5652 GB, free: 11.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.744e-05/0.4168, allocations: 97.83 kB / 0.5653 GB, free: 11.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4168, allocations: 4 kB / 0.5653 GB, free: 11.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001971/0.417, allocations: 7.906 kB / 0.5653 GB, free: 11.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.y) * Number of discrete variables: 2 (greaterEqualThreshold.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003459/0.4174, allocations: 0.6756 MB / 0.566 GB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 6.175e-05/0.4175, allocations: 15 kB / 0.566 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4175, allocations: 4.125 kB / 0.566 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.587e-05/0.4175, allocations: 11.12 kB / 0.566 GB, free: 10.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001665/0.4177, allocations: 15.38 kB / 0.566 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006429/0.4183, allocations: 0.5939 MB / 0.5666 GB, free: 9.742 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.4186, allocations: 0.6887 MB / 0.5673 GB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.723e-05/0.4186, allocations: 0 / 0.5673 GB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.4186, allocations: 15 kB / 0.5673 GB, free: 9.016 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4186, allocations: 224 / 0.5673 GB, free: 9.016 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01139/0.43, allocations: 1.323 MB / 0.5686 GB, free: 7.734 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000197/0.4303, allocations: 180.4 kB / 0.5687 GB, free: 7.492 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/1.918, allocations: 0 / 0.5687 GB, free: 7.492 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_SelfResettingIntegrator_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_SelfResettingIntegrator.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.SelfResettingIntegrator_res.mat does not exist to compare? outputFormat=mat