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/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 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 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 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: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007204/0.0007202, allocations: 96.94 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000721/0.000721, allocations: 186.3 kB / 16.96 MB, free: 6.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.217/1.217, allocations: 205.4 MB / 223.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.05893/0.05893, allocations: 12.61 MB / 284 MB, free: 8.586 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006308/0.0006308, allocations: 20 kB / 345.2 MB, free: 20.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07451/0.07515, allocations: 50.38 MB / 395.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.001694/0.07688, allocations: 1.294 MB / 396.8 MB, free: 1.125 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000717/0.07762, allocations: 0.4958 MB / 397.3 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.89e-05/0.07771, allocations: 0 / 397.3 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.07774, allocations: 7.922 kB / 397.3 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.07781, allocations: 7.875 kB / 397.3 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.07808, allocations: 35.97 kB / 397.4 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.07818, allocations: 55.84 kB / 397.4 MB, free: 0.5156 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.938e-05/0.07828, allocations: 19.98 kB / 397.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.523e-05/0.07836, allocations: 35.78 kB / 397.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.225e-05/0.07842, allocations: 19.92 kB / 397.5 MB, free: 452 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.07844, allocations: 3.938 kB / 397.5 MB, free: 448 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.036e-05/0.07846, allocations: 4 kB / 397.5 MB, free: 444 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.07848, allocations: 7.984 kB / 397.5 MB, free: 436 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.07854, allocations: 53.5 kB / 397.6 MB, free: 376 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.862e-05/0.07864, allocations: 48.08 kB / 397.6 MB, free: 328 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.07865, allocations: 0 / 397.6 MB, free: 328 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.07865, allocations: 0 / 397.6 MB, free: 328 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.07866, allocations: 0 / 397.6 MB, free: 328 kB / 286.1 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.0004057/0.07907, allocations: 367.3 kB / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.07912, allocations: 8.031 kB / 398 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.302e-05/0.07916, allocations: 8.844 kB / 398 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.07931, allocations: 184.3 kB / 398.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.07934, allocations: 20.31 kB / 398.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.07936, allocations: 8.312 kB / 398.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.07965, allocations: 137.3 kB / 398.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.07966, allocations: 0 / 398.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.07968, allocations: 4 kB / 398.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.07969, allocations: 0 / 398.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.0798, allocations: 35.97 kB / 398.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004105/0.08022, allocations: 305.5 kB / 398.7 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.08044, allocations: 154.3 kB / 398.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.203e-05/0.08052, allocations: 49.73 kB / 398.9 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.08055, allocations: 4.062 kB / 398.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.08069, allocations: 67.39 kB / 399 MB, free: 14.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.0807, allocations: 0 / 399 MB, free: 14.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000283/0.08098, allocations: 117.8 kB / 399.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.08105, allocations: 89 kB / 399.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.566e-05/0.08113, allocations: 113.8 kB / 399.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.08115, allocations: 25.7 kB / 399.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.0812, allocations: 88.14 kB / 399.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.08123, allocations: 19.8 kB / 399.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.08126, allocations: 21.66 kB / 399.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.08137, allocations: 326.8 kB / 399.7 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.339e-05/0.08144, allocations: 23.98 kB / 399.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.08153, allocations: 61.08 kB / 399.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.08168, allocations: 89.08 kB / 399.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.08169, allocations: 0 / 399.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001965/0.08189, allocations: 125.4 kB / 400 MB, free: 13.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.08191, allocations: 4 kB / 400 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.08192, allocations: 0 / 400 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.08194, allocations: 4 kB / 400 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.105e-05/0.08201, allocations: 19.94 kB / 400.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.08203, allocations: 3.984 kB / 400.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.008e-05/0.08208, allocations: 8.156 kB / 400.1 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.08211, allocations: 7.938 kB / 400.1 MB, free: 13.56 MB / 302.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 (triggeredSampler.y,$PRE.triggeredSampler.y,ClockedRealToTrigger.y3,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y,$whenCondition1,$CLKPRE.ClockedRealToTrigger.y2,ClockedRealToTrigger.y2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.75e-05/0.08219, allocations: 126.8 kB / 400.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.643e-05/0.08225, allocations: 53.53 kB / 400.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.08229, allocations: 11.97 kB / 400.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.08229, allocations: 0 / 400.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.0823, allocations: 3.938 kB / 400.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.08231, allocations: 320 / 400.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003199/0.08263, allocations: 346.5 kB / 400.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.08265, allocations: 0 / 400.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.435e-05/0.08271, allocations: 15.92 kB / 400.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.08272, allocations: 4 kB / 400.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.08273, allocations: 0 / 400.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.08274, allocations: 3.938 kB / 400.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.08274, allocations: 0 / 400.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.08295, allocations: 204.2 kB / 400.8 MB, free: 12.71 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.083, allocations: 89 kB / 400.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.08302, allocations: 0 / 400.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.0831, allocations: 11.88 kB / 400.9 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.08314, allocations: 11.98 kB / 400.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.08315, allocations: 0 / 400.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.081e-05/0.0832, allocations: 91.28 kB / 401 MB, free: 12.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0832, allocations: 0 / 401 MB, free: 12.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002265/0.08343, allocations: 12 kB / 401 MB, free: 12.48 MB / 302.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 (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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.41e-05/0.08352, allocations: 103.2 kB / 401.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.0837, allocations: 67.84 kB / 401.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.08372, allocations: 320 / 401.2 MB, free: 12.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.798e-05/0.08378, allocations: 27.98 kB / 401.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.08404, allocations: 16 kB / 401.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.08435, allocations: 202.5 kB / 401.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.08459, allocations: 0.6967 MB / 402.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.121e-05/0.08463, allocations: 11.97 kB / 402.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.529e-05/0.08466, allocations: 15.38 kB / 402.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.08466, allocations: 0 / 402.2 MB, free: 11.29 MB / 302.1 MB Notification: Performance of Templates: time 0.002174/0.08684, allocations: 0.5944 MB / 402.8 MB, free: 10.7 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.makefile Environment - environmentSimulation: (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 & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1) Environment - environmentSimulation: