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.001798/0.001798, allocations: 168.9 kB / 16.8 MB, free: 4.996 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.597/1.597, allocations: 205.4 MB / 223 MB, free: 8.926 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.0007875/0.0007876, allocations: 91.75 kB / 271.3 MB, free: 8.227 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.07809/0.07809, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006094/0.0006095, allocations: 16 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1264, allocations: 50.36 MB / 443.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.002198/0.1286, allocations: 1.305 MB / 445 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.1296, allocations: 499.7 kB / 445.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.386e-05/0.1297, allocations: 4 kB / 445.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.175e-05/0.1298, allocations: 3.938 kB / 445.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.218e-05/0.1299, allocations: 11.88 kB / 445.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004116/0.1303, allocations: 35.95 kB / 445.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.1305, allocations: 55.84 kB / 445.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.1306, allocations: 23.98 kB / 445.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.833e-05/0.1307, allocations: 23.86 kB / 445.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.1308, allocations: 23.91 kB / 445.6 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1308, allocations: 7.938 kB / 445.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.1309, allocations: 4 kB / 445.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.1309, allocations: 4 kB / 445.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.131, allocations: 53.5 kB / 445.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.717e-05/0.1311, allocations: 32.2 kB / 445.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1311, allocations: 0 / 445.7 MB, free: 13.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1311, allocations: 4 kB / 445.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1311, allocations: 0 / 445.8 MB, free: 13.34 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.0004916/0.1316, allocations: 363.2 kB / 446.1 MB, free: 12.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1317, allocations: 16.02 kB / 446.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.1317, allocations: 8.844 kB / 446.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.1319, allocations: 188.2 kB / 446.3 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.132, allocations: 8.375 kB / 446.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.132, allocations: 8.375 kB / 446.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.1324, allocations: 141.3 kB / 446.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.1324, allocations: 0 / 446.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.1324, allocations: 0 / 446.5 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.1324, allocations: 4 kB / 446.5 MB, free: 12.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.1326, allocations: 39.91 kB / 446.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005196/0.1331, allocations: 309.5 kB / 446.8 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.1334, allocations: 154.2 kB / 447 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.1336, allocations: 45.78 kB / 447 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1336, allocations: 0 / 447 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.1338, allocations: 71.33 kB / 447.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.154e-06/0.1338, allocations: 0 / 447.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004084/0.1342, allocations: 121.6 kB / 447.2 MB, free: 11.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.1343, allocations: 85 kB / 447.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.57e-05/0.1344, allocations: 113.8 kB / 447.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1344, allocations: 37.64 kB / 447.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.1345, allocations: 84.14 kB / 447.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.1345, allocations: 15.8 kB / 447.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-06/0.1345, allocations: 4 kB / 447.5 MB, free: 11.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.479e-05/0.1346, allocations: 326.8 kB / 447.9 MB, free: 10.97 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.488e-05/0.1347, allocations: 19.98 kB / 447.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.1348, allocations: 65.12 kB / 447.9 MB, free: 10.87 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.135, allocations: 89.02 kB / 448 MB, free: 10.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.135, allocations: 4 kB / 448 MB, free: 10.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002925/0.1353, allocations: 113.5 kB / 448.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.1354, allocations: 8 kB / 448.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1354, allocations: 384 / 448.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1354, allocations: 0 / 448.1 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1355, allocations: 19.98 kB / 448.2 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.1355, allocations: 4 kB / 448.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/0.1356, allocations: 7.938 kB / 448.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.1357, allocations: 16.08 kB / 448.2 MB, free: 10.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.5e-05/0.1358, allocations: 121.7 kB / 448.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.61e-05/0.1358, allocations: 57.59 kB / 448.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.499e-05/0.1359, allocations: 7.969 kB / 448.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1359, allocations: 0 / 448.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1359, allocations: 4.312 kB / 448.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1359, allocations: 0 / 448.4 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.1363, allocations: 346.5 kB / 448.7 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1363, allocations: 4 kB / 448.7 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.07e-05/0.1364, allocations: 8 kB / 448.7 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1364, allocations: 0 / 448.7 MB, free: 9.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1365, allocations: 3.984 kB / 448.7 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.1365, allocations: 7.938 kB / 448.7 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1365, allocations: 0 / 448.7 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.1368, allocations: 208.2 kB / 448.9 MB, free: 9.746 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.1368, allocations: 81.02 kB / 449 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.888e-05/0.1369, allocations: 7.984 kB / 449 MB, free: 9.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.137, allocations: 3.938 kB / 449 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.1371, allocations: 8.172 kB / 449 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.1371, allocations: 8 kB / 449 MB, free: 9.621 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.914e-05/0.1371, allocations: 95.27 kB / 449.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1371, allocations: 0 / 449.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004294/0.1376, allocations: 8 kB / 449.1 MB, free: 9.52 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 8.476e-05/0.1377, allocations: 103.2 kB / 449.3 MB, free: 9.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002713/0.138, allocations: 68.27 kB / 449.3 MB, free: 9.344 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.138, allocations: 4 kB / 449.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.687e-05/0.1381, allocations: 24.33 kB / 449.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.1385, allocations: 29.36 kB / 449.4 MB, free: 9.289 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.1389, allocations: 223.8 kB / 449.6 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.139, allocations: 0.6965 MB / 450.3 MB, free: 8.312 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.1391, allocations: 19.38 kB / 450.3 MB, free: 8.297 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1391, allocations: 0 / 450.3 MB, free: 8.297 MB / 298.7 MB Notification: Performance of Templates: time 0.002727/0.1418, allocations: 0.9268 MB / 451.2 MB, free: 7.371 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)