Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.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/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger",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.002397/0.002401, allocations: 190.5 kB / 15.81 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.308/2.308, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001211/0.001211, allocations: 98.78 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1078/0.1078, allocations: 12.6 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005731/0.0005732, allocations: 16.88 kB / 392.1 MB, free: 54.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.102, allocations: 50.36 MB / 442.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.002035/0.1041, allocations: 1.28 MB / 443.8 MB, free: 9.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009799/0.1051, allocations: 484.1 kB / 444.2 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.1052, allocations: 0 / 444.2 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.1053, allocations: 7.875 kB / 444.2 MB, free: 9.031 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.787e-05/0.1053, allocations: 11.98 kB / 444.2 MB, free: 9.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.1057, allocations: 35.89 kB / 444.3 MB, free: 8.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.884e-05/0.1058, allocations: 35.97 kB / 444.3 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.106, allocations: 23.91 kB / 444.3 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.312e-05/0.1061, allocations: 27.8 kB / 444.4 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.1061, allocations: 19.92 kB / 444.4 MB, free: 8.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.1062, allocations: 0 / 444.4 MB, free: 8.879 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.346e-05/0.1062, allocations: 4 kB / 444.4 MB, free: 8.875 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.101e-05/0.1062, allocations: 7.922 kB / 444.4 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.1063, allocations: 33.7 kB / 444.4 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.3e-05/0.1064, allocations: 36.48 kB / 444.5 MB, free: 8.793 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1064, allocations: 8 kB / 444.5 MB, free: 8.785 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1064, allocations: 0 / 444.5 MB, free: 8.785 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1064, allocations: 0 / 444.5 MB, free: 8.785 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004899/0.1069, allocations: 355.4 kB / 444.8 MB, free: 8.391 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.107, allocations: 12.03 kB / 444.8 MB, free: 8.379 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.882e-05/0.107, allocations: 34.56 kB / 444.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.1071, allocations: 11.89 kB / 444.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.1073, allocations: 186.9 kB / 445.1 MB, free: 8.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.1073, allocations: 12 kB / 445.1 MB, free: 8.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.1073, allocations: 7.984 kB / 445.1 MB, free: 8.082 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/0.1077, allocations: 129.8 kB / 445.2 MB, free: 7.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1077, allocations: 0 / 445.2 MB, free: 7.938 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.1077, allocations: 8 kB / 445.2 MB, free: 7.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1077, allocations: 7.938 kB / 445.2 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.1079, allocations: 31.97 kB / 445.3 MB, free: 7.891 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/0.1085, allocations: 297.6 kB / 445.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.1087, allocations: 162.3 kB / 445.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.1088, allocations: 80 / 445.7 MB, free: 7.352 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.109, allocations: 79.41 kB / 445.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.953e-06/0.109, allocations: 0 / 445.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004131/0.1094, allocations: 117.7 kB / 445.9 MB, free: 7.141 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.1095, allocations: 81.11 kB / 446 MB, free: 7.043 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.1096, allocations: 122 kB / 446.1 MB, free: 6.914 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.1096, allocations: 25.7 kB / 446.1 MB, free: 6.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.05e-05/0.1097, allocations: 96.23 kB / 446.2 MB, free: 6.785 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1097, allocations: 11.89 kB / 446.2 MB, free: 6.773 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.166e-06/0.1097, allocations: 7.938 kB / 446.2 MB, free: 6.766 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.292e-05/0.1098, allocations: 318.8 kB / 446.5 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.1099, allocations: 23.98 kB / 446.6 MB, free: 6.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.11, allocations: 65.14 kB / 446.6 MB, free: 6.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.1101, allocations: 35.98 kB / 446.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1101, allocations: 0 / 446.7 MB, free: 6.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003234/0.1105, allocations: 117.5 kB / 446.8 MB, free: 6.184 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1105, allocations: 4 kB / 446.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1105, allocations: 0 / 446.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1106, allocations: 7.984 kB / 446.8 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.1107, allocations: 12 kB / 446.8 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1107, allocations: 0 / 446.8 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.282e-05/0.1108, allocations: 11.98 kB / 446.8 MB, free: 6.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.1108, allocations: 4.156 kB / 446.8 MB, free: 6.145 MB / 282.7 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,ClockedRealToTrigger.y2,$CLKPRE.ClockedRealToTrigger.y2,$whenCondition1,ClockedRealToTrigger.y,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y3) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedRealToTrigger.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 9.37e-05/0.1109, allocations: 133.5 kB / 446.9 MB, free: 6.004 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.111, allocations: 53.78 kB / 447 MB, free: 5.945 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.594e-05/0.1111, allocations: 8.016 kB / 447 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.1111, allocations: 7.984 kB / 447 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1111, allocations: 0 / 447 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.1111, allocations: 0 / 447 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.1115, allocations: 354.3 kB / 447.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1116, allocations: 0 / 447.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.985e-05/0.1117, allocations: 8 kB / 447.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1117, allocations: 0 / 447.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.1117, allocations: 7.984 kB / 447.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.1117, allocations: 0 / 447.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1117, allocations: 0 / 447.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.112, allocations: 214 kB / 447.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.112, allocations: 81.02 kB / 447.7 MB, free: 5.176 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.1121, allocations: 7.984 kB / 447.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1122, allocations: 8.531 kB / 447.7 MB, free: 5.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.1123, allocations: 11.89 kB / 447.7 MB, free: 5.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.1123, allocations: 11.98 kB / 447.7 MB, free: 5.137 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.573e-05/0.1123, allocations: 95.22 kB / 447.8 MB, free: 5.043 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1123, allocations: 0 / 447.8 MB, free: 5.043 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003165/0.1127, allocations: 8 kB / 447.8 MB, free: 5.035 MB / 282.7 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 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.y3) * Number of clocked states: 1 (ClockedRealToTrigger.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.0006453/0.1133, allocations: 0.8425 MB / 448.6 MB, free: 4.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.1136, allocations: 67.91 kB / 448.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1136, allocations: 0 / 448.7 MB, free: 4.094 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.705e-05/0.1137, allocations: 24.3 kB / 448.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.114, allocations: 39.67 kB / 448.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001294/0.1153, allocations: 1.32 MB / 450.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.1155, allocations: 0.6938 MB / 450.8 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.042e-05/0.1156, allocations: 7.953 kB / 450.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.714e-05/0.1157, allocations: 25.17 kB / 450.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of SimCode: time 9.51e-07/0.1157, allocations: 0 / 450.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.138, allocations: 1.558 MB / 452.4 MB, free: 360 kB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002802/0.1384, allocations: 207.4 kB / 452.6 MB, free: 112 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/2.696, allocations: 0 / 452.6 MB, free: 112 kB / 282.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedRealToTrigger.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1)