Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.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.ResetHoldIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ResetHoldIntegrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ResetHoldIntegrator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_ResetHoldIntegrator",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.001348/0.001348, allocations: 177.6 kB / 8.002 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.862/1.862, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.001128/0.001128, allocations: 91.53 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.2854/0.2854, allocations: 43.5 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.893e-05/1.896e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1663, allocations: 58.85 MB / 477.2 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4576/0.624, allocations: 85.36 MB / 0.5494 GB, free: 8.809 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.6242, allocations: 66.56 kB / 0.5494 GB, free: 8.809 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00471/0.629, allocations: 1.64 MB / 0.551 GB, free: 7.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.629, allocations: 0 / 0.551 GB, free: 7.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.629, allocations: 4 kB / 0.5511 GB, free: 7.586 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004902/0.6295, allocations: 373.4 kB / 0.5514 GB, free: 7.188 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.6296, allocations: 16.03 kB / 0.5514 GB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.6296, allocations: 7.906 kB / 0.5514 GB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.6299, allocations: 186.1 kB / 0.5516 GB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.6299, allocations: 4 kB / 0.5516 GB, free: 6.941 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.6299, allocations: 4 kB / 0.5516 GB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001518/0.6301, allocations: 33.69 kB / 0.5516 GB, free: 6.914 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.6302, allocations: 67.73 kB / 0.5517 GB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.6303, allocations: 0 / 0.5517 GB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.6303, allocations: 3.5 kB / 0.5517 GB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.6303, allocations: 0 / 0.5517 GB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.6308, allocations: 336.9 kB / 0.552 GB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.601e-05/0.6309, allocations: 44.95 kB / 0.5521 GB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.689e-05/0.631, allocations: 12.27 kB / 0.5521 GB, free: 6.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.631, allocations: 4.844 kB / 0.5521 GB, free: 6.453 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.6311, allocations: 70.38 kB / 0.5522 GB, free: 6.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.6311, allocations: 3.938 kB / 0.5522 GB, free: 6.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001687/0.6313, allocations: 64.47 kB / 0.5522 GB, free: 6.316 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.6313, allocations: 51.41 kB / 0.5523 GB, free: 6.254 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.44e-05/0.6314, allocations: 112.2 kB / 0.5524 GB, free: 6.145 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.6314, allocations: 29.7 kB / 0.5524 GB, free: 6.109 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.6315, allocations: 99.45 kB / 0.5525 GB, free: 6.012 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.6315, allocations: 11.25 kB / 0.5525 GB, free: 6.004 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.6315, allocations: 7.938 kB / 0.5525 GB, free: 5.996 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.6316, allocations: 318.5 kB / 0.5528 GB, free: 5.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.706e-05/0.6316, allocations: 11.38 kB / 0.5528 GB, free: 5.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.922e-05/0.6317, allocations: 40.27 kB / 0.5529 GB, free: 5.633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.204e-05/0.6317, allocations: 19.27 kB / 0.5529 GB, free: 5.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6317, allocations: 0 / 0.5529 GB, free: 5.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.632e-05/0.6318, allocations: 68.34 kB / 0.553 GB, free: 5.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.6319, allocations: 4 kB / 0.553 GB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.6319, allocations: 7.984 kB / 0.553 GB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.6319, allocations: 3.953 kB / 0.553 GB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.632, allocations: 15.38 kB / 0.553 GB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.632, allocations: 4.062 kB / 0.553 GB, free: 5.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.99e-05/0.632, allocations: 8.047 kB / 0.553 GB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.632, allocations: 7.984 kB / 0.553 GB, free: 5.508 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,fallingEdge.y,$PRE.fallingEdge.not_u,fallingEdge.not_u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.305e-05/0.6321, allocations: 112.4 kB / 0.5531 GB, free: 5.395 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.074e-05/0.6322, allocations: 65.33 kB / 0.5532 GB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.6322, allocations: 15.8 kB / 0.5532 GB, free: 5.316 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.6323, allocations: 8.125 kB / 0.5532 GB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.6323, allocations: 0 / 0.5532 GB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.6323, allocations: 4 kB / 0.5532 GB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.6323, allocations: 0 / 0.5532 GB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.6326, allocations: 315.8 kB / 0.5535 GB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.6326, allocations: 0 / 0.5535 GB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.168e-05/0.6326, allocations: 11.89 kB / 0.5535 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.6326, allocations: 0 / 0.5535 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.6326, allocations: 0 / 0.5535 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.6327, allocations: 0 / 0.5535 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6327, allocations: 0 / 0.5535 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.6328, allocations: 184.1 kB / 0.5537 GB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.946e-05/0.6329, allocations: 89.03 kB / 0.5538 GB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.6329, allocations: 7.828 kB / 0.5538 GB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.633, allocations: 4 kB / 0.5538 GB, free: 4.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.6331, allocations: 11.98 kB / 0.5538 GB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.6331, allocations: 7.984 kB / 0.5538 GB, free: 4.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.184e-05/0.6331, allocations: 92.06 kB / 0.5539 GB, free: 4.578 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6331, allocations: 4.062 kB / 0.5539 GB, free: 4.574 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.6334, allocations: 12 kB / 0.5539 GB, free: 4.562 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: 5 (fallingEdge.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,fallingEdge.not_u) * Number of discrete states: 1 (fallingEdge.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003522/0.6337, allocations: 0.71 MB / 0.5546 GB, free: 3.844 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001201/0.6338, allocations: 41.91 kB / 0.5546 GB, free: 3.816 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6339, allocations: 3.938 kB / 0.5546 GB, free: 3.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.003e-05/0.6339, allocations: 23.5 kB / 0.5547 GB, free: 3.793 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.6342, allocations: 15.88 kB / 0.5547 GB, free: 3.781 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00053/0.6347, allocations: 190.1 kB / 0.5549 GB, free: 3.566 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.6349, allocations: 0.708 MB / 0.5556 GB, free: 2.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.711e-05/0.635, allocations: 4 kB / 0.5556 GB, free: 2.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.635, allocations: 25.73 kB / 0.5556 GB, free: 2.812 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.635, allocations: 0 / 0.5556 GB, free: 2.812 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.6554, allocations: 1.455 MB / 0.557 GB, free: 1.363 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.6557, allocations: 128.7 kB / 0.5571 GB, free: 1.172 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/2.155, allocations: 1.25 kB / 0.5571 GB, free: 1.172 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_ResetHoldIntegrator_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_ResetHoldIntegrator.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.ResetHoldIntegrator_res.mat does not exist to compare? outputFormat=mat