Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.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.TestEventClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002803/0.002808, allocations: 187.4 kB / 16.45 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.046/4.046, allocations: 205.4 MB / 222.6 MB, free: 13.83 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.001894/0.001893, allocations: 98.84 kB / 270.9 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1875/0.1875, allocations: 12.59 MB / 331.8 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001006, allocations: 15.94 kB / 392 MB, free: 54.99 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2177, allocations: 50.37 MB / 442.3 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator): time 0.003192/0.221, allocations: 1.332 MB / 443.7 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.2228, allocations: 488.2 kB / 444.2 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.223, allocations: 3.938 kB / 444.2 MB, free: 9.746 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.223, allocations: 11.98 kB / 444.2 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.2232, allocations: 11.92 kB / 444.2 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.2237, allocations: 39.94 kB / 444.2 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.2239, allocations: 43.89 kB / 444.3 MB, free: 9.641 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001752/0.2241, allocations: 15.98 kB / 444.3 MB, free: 9.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001764/0.2243, allocations: 27.91 kB / 444.3 MB, free: 9.598 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.2245, allocations: 35.78 kB / 444.3 MB, free: 9.562 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.2246, allocations: 0 / 444.3 MB, free: 9.562 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.346e-05/0.2246, allocations: 4 kB / 444.3 MB, free: 9.559 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.968e-05/0.2246, allocations: 11.94 kB / 444.4 MB, free: 9.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.2247, allocations: 33.7 kB / 444.4 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.2249, allocations: 48.69 kB / 444.4 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.2249, allocations: 0 / 444.4 MB, free: 9.461 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.2249, allocations: 0 / 444.4 MB, free: 9.461 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.225, allocations: 0 / 444.4 MB, free: 9.461 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009532/0.2259, allocations: 383.1 kB / 444.8 MB, free: 9.039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.226, allocations: 8.031 kB / 444.8 MB, free: 9.031 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.2261, allocations: 11.89 kB / 444.8 MB, free: 9.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.2264, allocations: 186.9 kB / 445 MB, free: 8.797 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.2264, allocations: 4 kB / 445 MB, free: 8.793 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.2265, allocations: 8 kB / 445 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.227, allocations: 125.8 kB / 445.2 MB, free: 8.641 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.2271, allocations: 0 / 445.2 MB, free: 8.641 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/0.2271, allocations: 8 kB / 445.2 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2271, allocations: 0 / 445.2 MB, free: 8.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.2274, allocations: 31.98 kB / 445.2 MB, free: 8.602 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006915/0.2281, allocations: 385.7 kB / 445.6 MB, free: 8.168 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006759/0.2288, allocations: 107.8 kB / 445.7 MB, free: 8.035 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.2289, allocations: 8.016 kB / 445.7 MB, free: 8.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000342/0.2292, allocations: 89.11 kB / 445.8 MB, free: 7.922 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 4.999e-06/0.2293, allocations: 0 / 445.8 MB, free: 7.922 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008475/0.2301, allocations: 121.5 kB / 445.9 MB, free: 7.797 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.2303, allocations: 106.8 kB / 446 MB, free: 7.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.2305, allocations: 137.8 kB / 446.1 MB, free: 7.523 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.2305, allocations: 25.7 kB / 446.1 MB, free: 7.492 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.2306, allocations: 162.8 kB / 446.3 MB, free: 7.332 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.2307, allocations: 11.75 kB / 446.3 MB, free: 7.32 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.2307, allocations: 8 kB / 446.3 MB, free: 7.312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.2308, allocations: 318.8 kB / 446.6 MB, free: 6.992 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.231, allocations: 27.98 kB / 446.7 MB, free: 6.965 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.2312, allocations: 69.94 kB / 446.7 MB, free: 6.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.2315, allocations: 113.5 kB / 446.8 MB, free: 6.746 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2315, allocations: 0 / 446.8 MB, free: 6.746 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004851/0.232, allocations: 129.5 kB / 447 MB, free: 6.613 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.2321, allocations: 4 kB / 447 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.2321, allocations: 4 kB / 447 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-05/0.2322, allocations: 192 / 447 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.2324, allocations: 23.98 kB / 447 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.2325, allocations: 0 / 447 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.2327, allocations: 12 kB / 447 MB, free: 6.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.2327, allocations: 11.98 kB / 447 MB, free: 6.559 MB / 282.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: firstOrder.y = firstOrder.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 2 (firstOrder.y,$DER.firstOrder.y) * 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.0002333/0.233, allocations: 133.5 kB / 447.2 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002168/0.2332, allocations: 57.59 kB / 447.2 MB, free: 6.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.792e-05/0.2333, allocations: 11.91 kB / 447.2 MB, free: 6.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.2334, allocations: 8 kB / 447.2 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.2334, allocations: 0 / 447.2 MB, free: 6.332 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.2334, allocations: 3.984 kB / 447.2 MB, free: 6.328 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007154/0.2341, allocations: 338.4 kB / 447.6 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.2342, allocations: 0 / 447.6 MB, free: 5.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002655/0.2345, allocations: 23.97 kB / 447.6 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.478e-06/0.2345, allocations: 4 kB / 447.6 MB, free: 5.914 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.2345, allocations: 8 kB / 447.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.165e-06/0.2346, allocations: 0 / 447.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.2346, allocations: 3.938 kB / 447.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005155/0.2351, allocations: 240.5 kB / 447.8 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.2352, allocations: 81.02 kB / 447.9 MB, free: 5.535 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.959e-05/0.2353, allocations: 4 kB / 447.9 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.2356, allocations: 19.94 kB / 447.9 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.33e-05/0.2357, allocations: 7.984 kB / 448 MB, free: 5.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.2357, allocations: 0 / 448 MB, free: 5.504 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.2358, allocations: 99.27 kB / 448 MB, free: 5.406 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.2358, allocations: 0 / 448 MB, free: 5.406 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006249/0.2365, allocations: 23.91 kB / 448.1 MB, free: 5.383 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 2 ($DER.firstOrder.y,firstOrder.y) * 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.0001818/0.2367, allocations: 95.25 kB / 448.2 MB, free: 5.281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005282/0.2372, allocations: 80.14 kB / 448.2 MB, free: 5.203 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.2373, allocations: 8 kB / 448.3 MB, free: 5.195 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.2376, allocations: 23.98 kB / 448.3 MB, free: 5.172 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006862/0.2383, allocations: 47.64 kB / 448.3 MB, free: 5.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008038/0.2391, allocations: 258.4 kB / 448.6 MB, free: 4.836 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.2394, allocations: 0.7009 MB / 449.3 MB, free: 4.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.68e-05/0.2395, allocations: 11.44 kB / 449.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of SimCode: time 2.024e-06/0.2395, allocations: 0 / 449.3 MB, free: 4.102 MB / 282.7 MB Notification: Performance of Templates: time 0.009606/0.2491, allocations: 1.162 MB / 450.4 MB, free: 2.945 MB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe 2>&1)