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.001534/0.001534, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.684/1.684, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 82.64 kB / 261.7 MB, free: 1.68 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.228/0.228, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.385e-05/2.378e-05, allocations: 0 / 418.3 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1585, allocations: 58.85 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.525/0.6835, allocations: 84.15 MB / 0.5482 GB, free: 8.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.6839, allocations: 65.06 kB / 0.5482 GB, free: 8.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002337/0.6862, allocations: 0.9817 MB / 0.5492 GB, free: 8.539 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.6862, allocations: 0 / 0.5492 GB, free: 8.539 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.6863, allocations: 3.906 kB / 0.5492 GB, free: 8.539 MB / 362.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.000274/0.6865, allocations: 334.9 kB / 0.5495 GB, free: 8.191 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.6866, allocations: 7.75 kB / 0.5495 GB, free: 8.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.6866, allocations: 8.469 kB / 0.5495 GB, free: 8.188 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.6868, allocations: 186.7 kB / 0.5497 GB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.6868, allocations: 0 / 0.5497 GB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.6868, allocations: 3.812 kB / 0.5497 GB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.788e-05/0.6869, allocations: 8.719 kB / 0.5497 GB, free: 7.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.086e-05/0.687, allocations: 45.5 kB / 0.5498 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.687, allocations: 3.281 kB / 0.5498 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.6871, allocations: 0 / 0.5498 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.6871, allocations: 0 / 0.5498 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004578/0.6875, allocations: 273.4 kB / 0.55 GB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.786e-05/0.6876, allocations: 18.48 kB / 0.5501 GB, free: 7.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.6876, allocations: 14.38 kB / 0.5501 GB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.6876, allocations: 0 / 0.5501 GB, free: 7.672 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.425e-05/0.6877, allocations: 53.22 kB / 0.5501 GB, free: 7.617 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.6877, allocations: 3.938 kB / 0.5501 GB, free: 7.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.000112/0.6878, allocations: 43.44 kB / 0.5502 GB, free: 7.582 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.6879, allocations: 55.36 kB / 0.5502 GB, free: 7.516 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.899e-05/0.6879, allocations: 98.66 kB / 0.5503 GB, free: 7.426 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.6879, allocations: 25.7 kB / 0.5503 GB, free: 7.395 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.688, allocations: 91.42 kB / 0.5504 GB, free: 7.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.688, allocations: 7.719 kB / 0.5504 GB, free: 7.301 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.688, allocations: 0 / 0.5504 GB, free: 7.301 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.577e-05/0.6881, allocations: 326.1 kB / 0.5507 GB, free: 6.984 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.6881, allocations: 7.031 kB / 0.5508 GB, free: 6.984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.936e-05/0.6881, allocations: 17.03 kB / 0.5508 GB, free: 6.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.759e-05/0.6881, allocations: 6.531 kB / 0.5508 GB, free: 6.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6881, allocations: 0 / 0.5508 GB, free: 6.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.324e-05/0.6882, allocations: 55.23 kB / 0.5508 GB, free: 6.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.6882, allocations: 3.906 kB / 0.5508 GB, free: 6.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6882, allocations: 3.984 kB / 0.5508 GB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.6883, allocations: 4.031 kB / 0.5508 GB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.847e-05/0.6883, allocations: 3.875 kB / 0.5508 GB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.6883, allocations: 0 / 0.5508 GB, free: 6.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.862e-05/0.6883, allocations: 10.62 kB / 0.5509 GB, free: 6.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.6883, allocations: 0 / 0.5509 GB, free: 6.918 MB / 362.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.358e-05/0.6884, allocations: 113 kB / 0.551 GB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.172e-05/0.6885, allocations: 35.97 kB / 0.551 GB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.795e-06/0.6885, allocations: 7.75 kB / 0.551 GB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.6885, allocations: 10 kB / 0.551 GB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.6885, allocations: 4 kB / 0.551 GB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.6885, allocations: 7.797 kB / 0.551 GB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.6885, allocations: 0 / 0.551 GB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.6887, allocations: 270 kB / 0.5513 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.6887, allocations: 0 / 0.5513 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.6888, allocations: 3.844 kB / 0.5513 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6888, allocations: 0 / 0.5513 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.6888, allocations: 0 / 0.5513 GB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6888, allocations: 7.891 kB / 0.5513 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.6888, allocations: 4 kB / 0.5513 GB, free: 6.484 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001033/0.6889, allocations: 143.2 kB / 0.5514 GB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.689, allocations: 81.02 kB / 0.5515 GB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.689, allocations: 6.312 kB / 0.5515 GB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.689, allocations: 224 / 0.5515 GB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.415e-05/0.6891, allocations: 3.953 kB / 0.5515 GB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.6891, allocations: 7.781 kB / 0.5515 GB, free: 6.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.685e-05/0.6891, allocations: 90.03 kB / 0.5516 GB, free: 6.172 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6891, allocations: 3.938 kB / 0.5516 GB, free: 6.168 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000232/0.6894, allocations: 7.688 kB / 0.5516 GB, free: 6.168 MB / 362.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.0003168/0.6897, allocations: 0.6697 MB / 0.5523 GB, free: 5.512 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.283e-05/0.6898, allocations: 18.62 kB / 0.5523 GB, free: 5.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6898, allocations: 4.125 kB / 0.5523 GB, free: 5.504 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-05/0.6898, allocations: 11.75 kB / 0.5523 GB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.69, allocations: 8.5 kB / 0.5523 GB, free: 5.488 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003274/0.6903, allocations: 120.6 kB / 0.5524 GB, free: 5.348 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.6905, allocations: 0.6901 MB / 0.5531 GB, free: 4.637 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.246e-05/0.6905, allocations: 10.81 kB / 0.5531 GB, free: 4.629 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.6905, allocations: 15.12 kB / 0.5531 GB, free: 4.621 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6906, allocations: 4 kB / 0.5531 GB, free: 4.617 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.7087, allocations: 0.9153 MB / 0.554 GB, free: 3.801 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.7089, allocations: 135.1 kB / 0.5542 GB, free: 3.609 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/2.209, allocations: 0 / 0.5542 GB, free: 3.609 MB / 362.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