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.001037/0.001038, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.651/1.651, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.000961/0.0009613, allocations: 84.47 kB / 267 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4415/0.4415, allocations: 43.47 MB / 358.6 MB, free: 51.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.691e-05/4.715e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1367, allocations: 58.84 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.474/0.6107, allocations: 84.8 MB / 0.5557 GB, free: 18.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.6109, allocations: 61.2 kB / 0.5558 GB, free: 18.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002615/0.6136, allocations: 0.9924 MB / 0.5567 GB, free: 17.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6136, allocations: 0 / 0.5567 GB, free: 17.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.6136, allocations: 4 kB / 0.5567 GB, free: 17.83 MB / 394.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.0003249/0.6139, allocations: 340.9 kB / 0.5571 GB, free: 17.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.614, allocations: 9.391 kB / 0.5571 GB, free: 17.46 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.422e-05/0.6141, allocations: 30.56 kB / 0.5571 GB, free: 17.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.6141, allocations: 14.42 kB / 0.5571 GB, free: 17.41 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.6143, allocations: 178.3 kB / 0.5573 GB, free: 17.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.6143, allocations: 0 / 0.5573 GB, free: 17.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.6143, allocations: 7.438 kB / 0.5573 GB, free: 17.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.6145, allocations: 53.72 kB / 0.5573 GB, free: 17.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.6145, allocations: 0 / 0.5573 GB, free: 17.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.6145, allocations: 0 / 0.5573 GB, free: 17.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.6146, allocations: 9.359 kB / 0.5574 GB, free: 17.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.083e-05/0.6146, allocations: 14.44 kB / 0.5574 GB, free: 17.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.6152, allocations: 291.2 kB / 0.5576 GB, free: 16.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.204e-05/0.6153, allocations: 21.77 kB / 0.5577 GB, free: 16.81 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.6153, allocations: 12.92 kB / 0.5577 GB, free: 16.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.6153, allocations: 0 / 0.5577 GB, free: 16.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.821e-05/0.6154, allocations: 49.52 kB / 0.5577 GB, free: 16.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.6154, allocations: 0 / 0.5577 GB, free: 16.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.00014/0.6156, allocations: 56.17 kB / 0.5578 GB, free: 16.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.6156, allocations: 53 kB / 0.5578 GB, free: 16.62 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.096e-05/0.6157, allocations: 107.5 kB / 0.5579 GB, free: 16.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.6157, allocations: 27.02 kB / 0.558 GB, free: 16.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.6158, allocations: 95.72 kB / 0.558 GB, free: 16.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.6158, allocations: 11.91 kB / 0.5581 GB, free: 16.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.6158, allocations: 0 / 0.5581 GB, free: 16.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.692e-05/0.6159, allocations: 322.1 kB / 0.5584 GB, free: 16.07 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.6159, allocations: 7.25 kB / 0.5584 GB, free: 16.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.6159, allocations: 17.75 kB / 0.5584 GB, free: 16.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.233e-05/0.6159, allocations: 5.406 kB / 0.5584 GB, free: 16.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6159, allocations: 4 kB / 0.5584 GB, free: 16.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.869e-05/0.616, allocations: 58.52 kB / 0.5585 GB, free: 15.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.616, allocations: 4 kB / 0.5585 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.6161, allocations: 0 / 0.5585 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.6161, allocations: 4 kB / 0.5585 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.947e-05/0.6161, allocations: 5.781 kB / 0.5585 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.6161, allocations: 4 kB / 0.5585 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.774e-05/0.6162, allocations: 1.25 kB / 0.5585 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.6162, allocations: 3.438 kB / 0.5585 GB, free: 15.97 MB / 394.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 () * 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 5.438e-05/0.6162, allocations: 115.3 kB / 0.5586 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.6163, allocations: 5.312 kB / 0.5586 GB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.6163, allocations: 9 kB / 0.5586 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-06/0.6163, allocations: 0 / 0.5586 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6163, allocations: 3.953 kB / 0.5586 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.6163, allocations: 0 / 0.5586 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.6166, allocations: 299.9 kB / 0.5589 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6166, allocations: 0.875 kB / 0.5589 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.223e-05/0.6166, allocations: 11.94 kB / 0.5589 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.6166, allocations: 0 / 0.5589 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.6166, allocations: 5.031 kB / 0.5589 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.6166, allocations: 0 / 0.5589 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6166, allocations: 0 / 0.5589 GB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.6168, allocations: 143.7 kB / 0.559 GB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.6168, allocations: 90.47 kB / 0.5591 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.6168, allocations: 4 kB / 0.5591 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.402e-05/0.6169, allocations: 9.375 kB / 0.5591 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.617, allocations: 4 kB / 0.5591 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.617, allocations: 1.312 kB / 0.5591 GB, free: 15.24 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.592e-05/0.617, allocations: 96.52 kB / 0.5592 GB, free: 15.15 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.617, allocations: 0 / 0.5592 GB, free: 15.15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001985/0.6172, allocations: 7.312 kB / 0.5592 GB, free: 15.15 MB / 394.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 () * 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.0003194/0.6176, allocations: 0.6827 MB / 0.5599 GB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.939e-05/0.6177, allocations: 20.41 kB / 0.5599 GB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6177, allocations: 0 / 0.5599 GB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.771e-05/0.6177, allocations: 12.05 kB / 0.5599 GB, free: 14.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.6179, allocations: 13.31 kB / 0.56 GB, free: 14.42 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003503/0.6182, allocations: 122.2 kB / 0.5601 GB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001643/0.6184, allocations: 0.692 MB / 0.5607 GB, free: 13.58 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.495e-05/0.6185, allocations: 3.562 kB / 0.5608 GB, free: 13.58 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.191e-05/0.6185, allocations: 16.91 kB / 0.5608 GB, free: 13.57 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6185, allocations: 0 / 0.5608 GB, free: 13.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.6309, allocations: 1.308 MB / 0.562 GB, free: 12.78 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/0.6311, allocations: 160.8 kB / 0.5622 GB, free: 12.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.174, allocations: 0 / 0.5622 GB, free: 12.54 MB / 394.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