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: 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/Complex 3.2.3+maint.om/package.mo): time 0.001836/0.001836, allocations: 169.2 kB / 16.76 MB, free: 5.031 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.595/1.595, allocations: 205 MB / 222.5 MB, free: 9.059 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.0006941/0.0006941, allocations: 97.67 kB / 270.5 MB, free: 8.652 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.0673/0.0673, allocations: 12.57 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 8 kB / 391.7 MB, free: 66.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07825/0.07861, allocations: 49.98 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.001508/0.08017, allocations: 1.305 MB / 443 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006856/0.08088, allocations: 0.4957 MB / 443.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.08099, allocations: 4 kB / 443.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.016e-05/0.08104, allocations: 3.938 kB / 443.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.738e-05/0.08112, allocations: 15.88 kB / 443.5 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003049/0.08143, allocations: 39.89 kB / 443.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.089e-05/0.08152, allocations: 51.86 kB / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.08163, allocations: 27.97 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.607e-05/0.08172, allocations: 31.8 kB / 443.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.336e-05/0.08179, allocations: 15.92 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.08181, allocations: 3.938 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.284e-05/0.08183, allocations: 4 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.08185, allocations: 11.98 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.0819, allocations: 27.8 kB / 443.7 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.25e-05/0.08198, allocations: 28.22 kB / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.08199, allocations: 0 / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.082, allocations: 0 / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.08201, allocations: 0 / 443.7 MB, free: 14.32 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.0004054/0.08242, allocations: 367.3 kB / 444.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.08246, allocations: 8.031 kB / 444.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.0825, allocations: 16.83 kB / 444.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.08264, allocations: 188.2 kB / 444.3 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.08266, allocations: 8.312 kB / 444.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.08268, allocations: 8.375 kB / 444.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002662/0.08295, allocations: 137.3 kB / 444.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.08297, allocations: 0 / 444.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.08299, allocations: 0 / 444.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.083, allocations: 3.984 kB / 444.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001099/0.08311, allocations: 39.97 kB / 444.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.08351, allocations: 301.5 kB / 444.8 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.08372, allocations: 154.3 kB / 444.9 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.734e-05/0.0838, allocations: 41.8 kB / 445 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.08383, allocations: 12 kB / 445 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.08397, allocations: 67.39 kB / 445.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.873e-06/0.08398, allocations: 0 / 445.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.000271/0.08426, allocations: 117.6 kB / 445.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.08431, allocations: 93 kB / 445.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.08438, allocations: 109.8 kB / 445.4 MB, free: 12.44 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.0844, allocations: 33.64 kB / 445.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.08444, allocations: 88.14 kB / 445.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.08446, allocations: 19.8 kB / 445.5 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.08449, allocations: 13.72 kB / 445.5 MB, free: 12.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.065e-05/0.08455, allocations: 322.8 kB / 445.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.778e-05/0.08461, allocations: 31.98 kB / 445.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-05/0.08468, allocations: 61.08 kB / 445.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.08483, allocations: 85.08 kB / 446 MB, free: 11.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.08484, allocations: 0 / 446 MB, free: 11.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001809/0.08503, allocations: 125.8 kB / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.08505, allocations: 4 kB / 446.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.08506, allocations: 0 / 446.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.08509, allocations: 4 kB / 446.2 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.015e-05/0.08517, allocations: 19.94 kB / 446.2 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.08519, allocations: 4.359 kB / 446.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.08525, allocations: 4 kB / 446.2 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.08526, allocations: 11.94 kB / 446.2 MB, free: 11.56 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 (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.695e-05/0.08534, allocations: 126.8 kB / 446.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.08541, allocations: 57.47 kB / 446.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.811e-05/0.08544, allocations: 11.97 kB / 446.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.08545, allocations: 0 / 446.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.08546, allocations: 240 / 446.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.08547, allocations: 0 / 446.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.08574, allocations: 346.5 kB / 446.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.08576, allocations: 0 / 446.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.08582, allocations: 15.92 kB / 446.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.08583, allocations: 4 kB / 446.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.08585, allocations: 4 kB / 446.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.08585, allocations: 3.938 kB / 446.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.08586, allocations: 0 / 446.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.08604, allocations: 204.2 kB / 446.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.488e-05/0.08608, allocations: 89 kB / 447 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.0861, allocations: 4 kB / 447 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.745e-05/0.08617, allocations: 7.938 kB / 447 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.08621, allocations: 7.984 kB / 447.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.08623, allocations: 0 / 447.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.034e-05/0.08626, allocations: 87.28 kB / 447.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.08627, allocations: 4 kB / 447.1 MB, free: 10.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000227/0.0865, allocations: 16 kB / 447.2 MB, free: 10.48 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.721e-05/0.08659, allocations: 99.23 kB / 447.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001765/0.08677, allocations: 67.84 kB / 447.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.08678, allocations: 0 / 447.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.836e-05/0.08684, allocations: 24.3 kB / 447.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.08712, allocations: 24.38 kB / 447.4 MB, free: 10.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.08745, allocations: 223.5 kB / 447.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.08758, allocations: 0.6965 MB / 448.3 MB, free: 9.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.007e-05/0.08762, allocations: 15.42 kB / 448.3 MB, free: 9.273 MB / 298.7 MB Notification: Performance of SimCode: time 2.9e-07/0.08762, allocations: 0 / 448.3 MB, free: 9.273 MB / 298.7 MB Notification: Performance of Templates: time 0.002126/0.08976, allocations: 0.9396 MB / 449.2 MB, free: 8.336 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.makefile (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)