Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.001061, allocations: 87.84 kB / 16.31 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 182.5 kB / 17.21 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 241.2 MB, free: 5.398 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002878, allocations: 8.828 kB / 300.9 MB, free: 5.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1129, allocations: 50.43 MB / 351.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold): time 0.002621/0.1156, allocations: 1.33 MB / 352.7 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1169, allocations: 495 kB / 353.1 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.117, allocations: 0 / 353.1 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.682e-05/0.1171, allocations: 7.938 kB / 353.2 MB, free: 9.715 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.1173, allocations: 7.922 kB / 353.2 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.1178, allocations: 58.75 kB / 353.2 MB, free: 9.652 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1179, allocations: 55.84 kB / 353.3 MB, free: 9.598 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.1181, allocations: 20.16 kB / 353.3 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.569e-05/0.1182, allocations: 23.88 kB / 353.3 MB, free: 9.551 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.452e-05/0.1183, allocations: 31.83 kB / 353.4 MB, free: 9.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.793e-05/0.1183, allocations: 4 kB / 353.4 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.894e-05/0.1183, allocations: 0 / 353.4 MB, free: 9.516 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.068e-05/0.1184, allocations: 19.92 kB / 353.4 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.657e-05/0.1185, allocations: 37.64 kB / 353.4 MB, free: 9.453 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.1186, allocations: 55.83 kB / 353.5 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.1187, allocations: 0 / 353.5 MB, free: 9.398 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.338e-06/0.1187, allocations: 0 / 353.5 MB, free: 9.398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1187, allocations: 0 / 353.5 MB, free: 9.398 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006749/0.1194, allocations: 371.1 kB / 353.8 MB, free: 8.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.1194, allocations: 12.03 kB / 353.8 MB, free: 8.977 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.681e-05/0.1195, allocations: 38.55 kB / 353.9 MB, free: 8.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.1195, allocations: 15.77 kB / 353.9 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1198, allocations: 194.9 kB / 354.1 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1198, allocations: 4 kB / 354.1 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.1198, allocations: 8 kB / 354.1 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.1202, allocations: 147 kB / 354.2 MB, free: 8.512 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1202, allocations: 4 kB / 354.2 MB, free: 8.508 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1202, allocations: 7.953 kB / 354.2 MB, free: 8.5 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1202, allocations: 0 / 354.2 MB, free: 8.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001175/0.1203, allocations: 39.91 kB / 354.3 MB, free: 8.461 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.1209, allocations: 301.7 kB / 354.6 MB, free: 8.113 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.1211, allocations: 162.2 kB / 354.7 MB, free: 7.918 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.016e-05/0.1212, allocations: 37.78 kB / 354.8 MB, free: 7.875 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.1213, allocations: 11.94 kB / 354.8 MB, free: 7.863 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.1214, allocations: 63.39 kB / 354.9 MB, free: 7.789 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.1215, allocations: 0 / 354.9 MB, free: 7.789 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003052/0.1218, allocations: 121.7 kB / 355 MB, free: 7.664 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.1218, allocations: 85.11 kB / 355.1 MB, free: 7.562 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.122, allocations: 148.3 kB / 355.2 MB, free: 7.41 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.122, allocations: 33.64 kB / 355.2 MB, free: 7.371 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.929e-05/0.1221, allocations: 92.08 kB / 355.3 MB, free: 7.277 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.1221, allocations: 19.86 kB / 355.3 MB, free: 7.258 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.1221, allocations: 4 kB / 355.3 MB, free: 7.254 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1222, allocations: 314.8 kB / 355.7 MB, free: 6.938 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/0.1223, allocations: 27.98 kB / 355.7 MB, free: 6.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.286e-05/0.1224, allocations: 57.14 kB / 355.7 MB, free: 6.836 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.835e-05/0.1225, allocations: 44 kB / 355.8 MB, free: 6.793 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1225, allocations: 0 / 355.8 MB, free: 6.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002073/0.1227, allocations: 113.5 kB / 355.9 MB, free: 6.676 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.1227, allocations: 7.984 kB / 355.9 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.1228, allocations: 4 kB / 355.9 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1228, allocations: 160 / 355.9 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.419e-05/0.1229, allocations: 19.94 kB / 355.9 MB, free: 6.645 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1229, allocations: 3.984 kB / 355.9 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.605e-05/0.123, allocations: 15.92 kB / 355.9 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.123, allocations: 4 kB / 355.9 MB, free: 6.621 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,clockToTrigger.y2,$CLKPRE.clockToTrigger.y2,$whenCondition1,triggeredSampler.trigger,$PRE.clockToTrigger.y3,clockToTrigger.y3) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 0.0001189/0.1231, allocations: 125.8 kB / 356.1 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.611e-05/0.1232, allocations: 57.53 kB / 356.1 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.1232, allocations: 12.31 kB / 356.1 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1233, allocations: 0 / 356.1 MB, free: 6.41 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1233, allocations: 8 kB / 356.1 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1233, allocations: 3.984 kB / 356.1 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.1237, allocations: 346.5 kB / 356.5 MB, free: 6.004 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1237, allocations: 0 / 356.5 MB, free: 6.004 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.783e-05/0.1238, allocations: 12 kB / 356.5 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1238, allocations: 0 / 356.5 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.1238, allocations: 3.984 kB / 356.5 MB, free: 5.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1238, allocations: 4 kB / 356.5 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1238, allocations: 4 kB / 356.5 MB, free: 5.98 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.1241, allocations: 212 kB / 356.7 MB, free: 5.754 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.071e-05/0.1242, allocations: 93 kB / 356.8 MB, free: 5.645 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.696e-05/0.1242, allocations: 7.984 kB / 356.8 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.1243, allocations: 8.359 kB / 356.8 MB, free: 5.629 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.1243, allocations: 4 kB / 356.8 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.1243, allocations: 4 kB / 356.8 MB, free: 5.621 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.773e-05/0.1244, allocations: 111.2 kB / 356.9 MB, free: 5.512 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1244, allocations: 0 / 356.9 MB, free: 5.512 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1247, allocations: 16 kB / 357 MB, free: 5.496 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (clockToTrigger.y2,triggeredSampler.trigger,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0008556/0.1255, allocations: 0.7833 MB / 357.7 MB, free: 4.684 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.1258, allocations: 64.22 kB / 357.8 MB, free: 4.621 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1258, allocations: 4.062 kB / 357.8 MB, free: 4.617 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.932e-05/0.1258, allocations: 23.98 kB / 357.8 MB, free: 4.594 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.1262, allocations: 27.95 kB / 357.9 MB, free: 4.566 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009701/0.1272, allocations: 0.6334 MB / 358.5 MB, free: 3.859 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002866/0.1275, allocations: 0.7005 MB / 359.2 MB, free: 3.133 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.685e-05/0.1275, allocations: 8.656 kB / 359.2 MB, free: 3.125 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.943e-05/0.1276, allocations: 23.42 kB / 359.2 MB, free: 3.102 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1276, allocations: 4 kB / 359.2 MB, free: 3.098 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01136/0.139, allocations: 1.735 MB / 361 MB, free: 1.547 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.1392, allocations: 218.1 kB / 361.2 MB, free: 1.305 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.042, allocations: 0 / 361.2 MB, free: 1.305 MB / 286.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat does not exist to compare? outputFormat=mat