Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001109, allocations: 183.1 kB / 16.45 MB, free: 5.652 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.513/1.513, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0007273/0.0007272, allocations: 91.08 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08317/0.08317, allocations: 12.6 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005975/0.0005976, allocations: 16 kB / 392 MB, free: 66.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1066, allocations: 50.38 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.001776/0.1084, allocations: 1.274 MB / 443.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008171/0.1092, allocations: 492 kB / 444.1 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.1093, allocations: 4 kB / 444.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.949e-05/0.1094, allocations: 11.92 kB / 444.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.375e-05/0.1094, allocations: 3.938 kB / 444.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.1098, allocations: 43.83 kB / 444.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.337e-05/0.1099, allocations: 51.84 kB / 444.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.11, allocations: 19.92 kB / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.965e-05/0.1101, allocations: 27.92 kB / 444.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.004e-05/0.1102, allocations: 23.84 kB / 444.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.1102, allocations: 4 kB / 444.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.1102, allocations: 4 kB / 444.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.699e-05/0.1103, allocations: 7.938 kB / 444.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.1103, allocations: 33.7 kB / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.55e-05/0.1104, allocations: 35.91 kB / 444.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1104, allocations: 0 / 444.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1104, allocations: 0 / 444.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1104, allocations: 0 / 444.4 MB, free: 14.41 MB / 298.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.0004388/0.1109, allocations: 355.4 kB / 444.7 MB, free: 14.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1109, allocations: 12.03 kB / 444.8 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.111, allocations: 7.906 kB / 444.8 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.1112, allocations: 190.8 kB / 444.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.1112, allocations: 12 kB / 445 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.1112, allocations: 4 kB / 445 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003377/0.1116, allocations: 141 kB / 445.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1116, allocations: 0 / 445.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1116, allocations: 4 kB / 445.1 MB, free: 13.6 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.1116, allocations: 3.984 kB / 445.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1118, allocations: 35.92 kB / 445.1 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004942/0.1123, allocations: 301.7 kB / 445.4 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.1125, allocations: 158.2 kB / 445.6 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.395e-05/0.1126, allocations: 45.8 kB / 445.6 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.355e-05/0.1127, allocations: 4 kB / 445.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.1128, allocations: 63.39 kB / 445.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.1129, allocations: 0 / 445.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000354/0.1132, allocations: 125.5 kB / 445.8 MB, free: 12.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/0.1133, allocations: 81.05 kB / 445.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.1134, allocations: 118 kB / 446 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.1134, allocations: 29.7 kB / 446 MB, free: 12.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.69e-05/0.1134, allocations: 96.16 kB / 446.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.1135, allocations: 15.84 kB / 446.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.1135, allocations: 0 / 446.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.866e-05/0.1135, allocations: 330.8 kB / 446.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.857e-05/0.1136, allocations: 23.98 kB / 446.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.18e-05/0.1137, allocations: 61.14 kB / 446.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.23e-05/0.1138, allocations: 31.98 kB / 446.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.1139, allocations: 0 / 446.6 MB, free: 11.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000244/0.1141, allocations: 109.5 kB / 446.7 MB, free: 11.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.1141, allocations: 8 kB / 446.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1141, allocations: 4.156 kB / 446.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1142, allocations: 4 kB / 446.7 MB, free: 11.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.1143, allocations: 15.92 kB / 446.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1143, allocations: 4 kB / 446.7 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.568e-05/0.1144, allocations: 8 kB / 446.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1144, allocations: 4 kB / 446.7 MB, free: 11.77 MB / 298.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 8.186e-05/0.1145, allocations: 126.4 kB / 446.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.1146, allocations: 57.59 kB / 446.9 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.1146, allocations: 15.95 kB / 446.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.1146, allocations: 4 kB / 446.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1146, allocations: 240 / 446.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1147, allocations: 0 / 446.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.115, allocations: 346.3 kB / 447.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.115, allocations: 4 kB / 447.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.319e-05/0.1151, allocations: 12.36 kB / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1151, allocations: 4 kB / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.1151, allocations: 0 / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.1151, allocations: 8 kB / 447.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1151, allocations: 0 / 447.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.1154, allocations: 204.3 kB / 447.5 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.795e-05/0.1154, allocations: 85.02 kB / 447.6 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1155, allocations: 7.938 kB / 447.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.1156, allocations: 480 / 447.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.1156, allocations: 7.984 kB / 447.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1156, allocations: 8 kB / 447.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.419e-05/0.1157, allocations: 91.2 kB / 447.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1157, allocations: 0 / 447.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003593/0.1161, allocations: 15.95 kB / 447.7 MB, free: 10.68 MB / 298.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 8.398e-05/0.1162, allocations: 103.2 kB / 447.8 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.1164, allocations: 67.91 kB / 447.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1164, allocations: 0 / 447.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.887e-05/0.1165, allocations: 23.98 kB / 447.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.1168, allocations: 19.94 kB / 447.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.1172, allocations: 228.1 kB / 448.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.1174, allocations: 0.6926 MB / 448.8 MB, free: 9.484 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.1175, allocations: 15.44 kB / 448.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.1175, allocations: 0 / 448.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of Templates: time 0.002437/0.1199, allocations: 0.9386 MB / 449.8 MB, free: 8.539 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1)