Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.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.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002759/0.002759, allocations: 182.8 kB / 16.45 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.903/3.903, allocations: 205.4 MB / 222.6 MB, free: 9.125 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.001837/0.001837, allocations: 93.19 kB / 270.9 MB, free: 8.371 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.1883/0.1883, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008968/0.0008975, allocations: 16 kB / 392 MB, free: 66.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2373, allocations: 50.37 MB / 442.3 MB, free: 16.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.003114/0.2404, allocations: 1.31 MB / 443.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.2422, allocations: 0.5039 MB / 444.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.2424, allocations: 0 / 444.2 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.106e-05/0.2425, allocations: 7.922 kB / 444.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.2427, allocations: 11.98 kB / 444.2 MB, free: 14.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.2432, allocations: 55.75 kB / 444.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.2435, allocations: 31.91 kB / 444.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.2437, allocations: 23.97 kB / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.2439, allocations: 23.86 kB / 444.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.2441, allocations: 11.92 kB / 444.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.2441, allocations: 4 kB / 444.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.307e-05/0.2442, allocations: 0 / 444.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.2443, allocations: 15.92 kB / 444.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.474e-05/0.2444, allocations: 37.64 kB / 444.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.2445, allocations: 39.92 kB / 444.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2446, allocations: 0 / 444.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.2446, allocations: 0 / 444.4 MB, free: 14.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.2446, allocations: 4 kB / 444.4 MB, free: 14.4 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008737/0.2455, allocations: 375.2 kB / 444.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.752e-05/0.2456, allocations: 12.03 kB / 444.8 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.2457, allocations: 7.906 kB / 444.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.246, allocations: 207.2 kB / 445 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.246, allocations: 4 kB / 445 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.2461, allocations: 8 kB / 445 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.2466, allocations: 117 kB / 445.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2466, allocations: 0 / 445.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.2467, allocations: 0 / 445.1 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.2467, allocations: 3.984 kB / 445.1 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/0.2469, allocations: 31.92 kB / 445.2 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.2475, allocations: 273.8 kB / 445.4 MB, free: 13.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.2481, allocations: 81.12 kB / 445.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.2482, allocations: 8.141 kB / 445.5 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.2482, allocations: 34.56 kB / 445.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 4.668e-06/0.2482, allocations: 0 / 445.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000543/0.2488, allocations: 89.61 kB / 445.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.2489, allocations: 85.11 kB / 445.7 MB, free: 12.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.2491, allocations: 143 kB / 445.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.2492, allocations: 29.7 kB / 445.9 MB, free: 12.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.384e-05/0.2492, allocations: 154.6 kB / 446 MB, free: 12.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.2493, allocations: 15.83 kB / 446.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.2493, allocations: 0 / 446.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.261e-05/0.2494, allocations: 318.8 kB / 446.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.2495, allocations: 20.02 kB / 446.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.2498, allocations: 52.22 kB / 446.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.2501, allocations: 109.1 kB / 446.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2501, allocations: 0 / 446.5 MB, free: 11.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004344/0.2506, allocations: 89.45 kB / 446.6 MB, free: 11.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/0.2507, allocations: 4 kB / 446.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.2507, allocations: 3.938 kB / 446.6 MB, free: 11.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.2507, allocations: 12.09 kB / 446.7 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.2509, allocations: 16 kB / 446.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.2509, allocations: 0 / 446.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.2511, allocations: 11.98 kB / 446.7 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.2512, allocations: 4 kB / 446.7 MB, free: 11.85 MB / 298.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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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 (7): * Single equations (assignments): 7 * 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.0002284/0.2514, allocations: 129.5 kB / 446.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.2517, allocations: 61.53 kB / 446.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.557e-05/0.2518, allocations: 16.23 kB / 446.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2518, allocations: 4 kB / 446.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.2518, allocations: 0 / 446.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.2518, allocations: 0 / 446.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003288/0.2522, allocations: 177.6 kB / 447.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.2522, allocations: 0 / 447.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.2526, allocations: 19.98 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.2526, allocations: 0 / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.2526, allocations: 0 / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.2526, allocations: 4 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2527, allocations: 0 / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/0.2531, allocations: 205.9 kB / 447.3 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.2533, allocations: 93 kB / 447.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.2533, allocations: 384 / 447.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.2536, allocations: 4 kB / 447.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.2537, allocations: 4 kB / 447.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.2537, allocations: 7.984 kB / 447.4 MB, free: 11.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001484/0.2539, allocations: 111.8 kB / 447.5 MB, free: 10.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.2539, allocations: 0 / 447.5 MB, free: 10.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000588/0.2545, allocations: 8 kB / 447.5 MB, free: 10.91 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: 0 () * 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 (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001527/0.2546, allocations: 99.22 kB / 447.6 MB, free: 10.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000429/0.2551, allocations: 52.23 kB / 447.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.2551, allocations: 0 / 447.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.2552, allocations: 15.98 kB / 447.7 MB, free: 10.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005801/0.2558, allocations: 45.16 kB / 447.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007123/0.2566, allocations: 249.6 kB / 448 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.2569, allocations: 0.7004 MB / 448.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.653e-05/0.257, allocations: 11.44 kB / 448.7 MB, free: 9.676 MB / 298.7 MB Notification: Performance of SimCode: time 1.203e-06/0.257, allocations: 0 / 448.7 MB, free: 9.676 MB / 298.7 MB Notification: Performance of Templates: time 0.004753/0.2618, allocations: 0.942 MB / 449.6 MB, free: 8.734 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe 2>&1)