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.001152/0.001153, allocations: 96.86 kB / 15.74 MB, free: 424 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.001157/0.001157, allocations: 177.9 kB / 16.63 MB, free: 6.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 222.8 MB, free: 5.637 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.1024/0.1024, allocations: 12.6 MB / 283.7 MB, free: 8.684 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.0007651/0.0007654, allocations: 20 kB / 344.5 MB, free: 21.27 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1278, allocations: 50.38 MB / 394.9 MB, free: 2.797 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.002358/0.1302, allocations: 1.283 MB / 396.2 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1316, allocations: 496 kB / 396.7 MB, free: 1.008 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.1318, allocations: 4 kB / 396.7 MB, free: 1.004 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.542e-05/0.1319, allocations: 7.938 kB / 396.7 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.132, allocations: 7.875 kB / 396.7 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.1325, allocations: 43.89 kB / 396.7 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.1328, allocations: 43.86 kB / 396.8 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.133, allocations: 19.97 kB / 396.8 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.1331, allocations: 27.92 kB / 396.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1332, allocations: 19.86 kB / 396.8 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.1333, allocations: 4 kB / 396.9 MB, free: 0.832 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.708e-05/0.1333, allocations: 4 kB / 396.9 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.1333, allocations: 15.92 kB / 396.9 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.391e-05/0.1334, allocations: 29.7 kB / 396.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.1335, allocations: 31.92 kB / 396.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/0.1336, allocations: 0 / 396.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.1336, allocations: 0 / 396.9 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1336, allocations: 0 / 396.9 MB, free: 0.7461 MB / 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.0006718/0.1343, allocations: 367.4 kB / 397.3 MB, free: 348 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/0.1343, allocations: 12.03 kB / 397.3 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.1344, allocations: 11.89 kB / 397.3 MB, free: 324 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.1347, allocations: 186.9 kB / 397.5 MB, free: 96 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1347, allocations: 4 kB / 397.5 MB, free: 92 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.87e-05/0.1347, allocations: 8 kB / 397.5 MB, free: 84 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.1351, allocations: 141 kB / 397.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1352, allocations: 0 / 397.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.1352, allocations: 0 / 397.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1352, allocations: 0 / 397.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.1353, allocations: 43.91 kB / 397.7 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.1359, allocations: 293.6 kB / 398 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.1362, allocations: 158.2 kB / 398.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.851e-05/0.1363, allocations: 49.72 kB / 398.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.1363, allocations: 4 kB / 398.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/0.1366, allocations: 63.39 kB / 398.2 MB, free: 15.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.784e-06/0.1366, allocations: 3.938 kB / 398.2 MB, free: 15.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004049/0.137, allocations: 121.6 kB / 398.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.1371, allocations: 85.03 kB / 398.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.1372, allocations: 118 kB / 398.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1373, allocations: 33.7 kB / 398.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.1373, allocations: 88.23 kB / 398.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.1374, allocations: 15.95 kB / 398.7 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.1374, allocations: 4 kB / 398.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1375, allocations: 326.8 kB / 399 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.32e-05/0.1376, allocations: 19.98 kB / 399 MB, free: 14.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.964e-05/0.1377, allocations: 65.06 kB / 399.1 MB, free: 14.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.884e-05/0.1378, allocations: 32 kB / 399.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.1378, allocations: 0 / 399.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00022/0.138, allocations: 117.4 kB / 399.3 MB, free: 14.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1381, allocations: 11.98 kB / 399.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1381, allocations: 4.156 kB / 399.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1381, allocations: 4 kB / 399.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.1382, allocations: 8 kB / 399.3 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.1382, allocations: 4 kB / 399.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.1383, allocations: 8.297 kB / 399.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.1383, allocations: 8 kB / 399.3 MB, free: 14.09 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 ($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 0.0001218/0.1384, allocations: 126.2 kB / 399.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.07e-05/0.1385, allocations: 53.59 kB / 399.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.619e-05/0.1385, allocations: 11.97 kB / 399.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.1386, allocations: 8 kB / 399.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.1386, allocations: 0 / 399.5 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.1386, allocations: 3.938 kB / 399.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.139, allocations: 346.3 kB / 399.8 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.139, allocations: 4 kB / 399.8 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.885e-05/0.1391, allocations: 11.98 kB / 399.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1391, allocations: 4 kB / 399.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1391, allocations: 0 / 399.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1391, allocations: 4 kB / 399.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1391, allocations: 0 / 399.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.1394, allocations: 200.7 kB / 400.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-05/0.1395, allocations: 89 kB / 400.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.1395, allocations: 4 kB / 400.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.828e-05/0.1396, allocations: 4 kB / 400.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.673e-05/0.1396, allocations: 4.094 kB / 400.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.1397, allocations: 12.16 kB / 400.2 MB, free: 13.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.656e-05/0.1397, allocations: 87.22 kB / 400.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1397, allocations: 0 / 400.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002644/0.14, allocations: 19.95 kB / 400.3 MB, free: 13 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 (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.0001779/0.1402, allocations: 103.2 kB / 400.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002883/0.1405, allocations: 67.91 kB / 400.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1405, allocations: 0 / 400.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.248e-05/0.1406, allocations: 27.92 kB / 400.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.1409, allocations: 20 kB / 400.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.1414, allocations: 198.4 kB / 400.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.1418, allocations: 0.6926 MB / 401.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.369e-05/0.1419, allocations: 3.984 kB / 401.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.1419, allocations: 19.38 kB / 401.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.142, allocations: 4 kB / 401.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Templates: time 0.003132/0.1451, allocations: 0.5668 MB / 402 MB, free: 11.25 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: