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.001349/0.001349, allocations: 175.4 kB / 16.45 MB, free: 5.684 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.492/1.492, allocations: 205.4 MB / 222.6 MB, free: 9.102 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.0008731/0.0008731, allocations: 93.09 kB / 270.9 MB, free: 8.352 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.08064/0.08064, allocations: 12.59 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.0004141, allocations: 12 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09257, allocations: 50.38 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.001786/0.09441, allocations: 1.305 MB / 443.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000851/0.09528, allocations: 0.5156 MB / 444.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.702e-05/0.09538, allocations: 4 kB / 444.2 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.09543, allocations: 3.938 kB / 444.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.09558, allocations: 7.938 kB / 444.2 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002945/0.09589, allocations: 47.83 kB / 444.2 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.09601, allocations: 51.78 kB / 444.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.834e-05/0.09612, allocations: 15.98 kB / 444.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.484e-05/0.0962, allocations: 19.92 kB / 444.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.077e-05/0.09627, allocations: 19.86 kB / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.0963, allocations: 4 kB / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.51e-05/0.09633, allocations: 0 / 444.4 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.726e-05/0.09638, allocations: 15.92 kB / 444.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.09641, allocations: 33.7 kB / 444.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.37e-05/0.0965, allocations: 43.86 kB / 444.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.09652, allocations: 0 / 444.4 MB, free: 14.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.09653, allocations: 4 kB / 444.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.09654, allocations: 0 / 444.5 MB, free: 14.35 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.0004392/0.09699, allocations: 375.3 kB / 444.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.09703, allocations: 12.03 kB / 444.8 MB, free: 13.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.983e-05/0.09708, allocations: 7.906 kB / 444.8 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.09727, allocations: 203.2 kB / 445 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.0973, allocations: 8 kB / 445 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.09733, allocations: 4 kB / 445 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.09765, allocations: 121 kB / 445.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.09767, allocations: 0 / 445.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.09769, allocations: 0 / 445.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.09771, allocations: 0 / 445.2 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.09783, allocations: 27.98 kB / 445.2 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.09817, allocations: 281.7 kB / 445.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003931/0.09858, allocations: 85.12 kB / 445.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/0.09867, allocations: 29.77 kB / 445.6 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.09871, allocations: 4 kB / 445.6 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.09873, allocations: 34.5 kB / 445.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.09874, allocations: 0 / 445.6 MB, free: 12.99 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003141/0.09907, allocations: 97.5 kB / 445.7 MB, free: 12.89 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.09913, allocations: 81.11 kB / 445.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.09926, allocations: 147 kB / 445.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.097e-05/0.09928, allocations: 25.7 kB / 446 MB, free: 12.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.09932, allocations: 88.14 kB / 446 MB, free: 12.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.09935, allocations: 19.95 kB / 446.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.09936, allocations: 0 / 446.1 MB, free: 12.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.877e-05/0.09942, allocations: 322.8 kB / 446.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.0995, allocations: 15.98 kB / 446.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.348e-05/0.09958, allocations: 48.28 kB / 446.4 MB, free: 12.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.09973, allocations: 109.1 kB / 446.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.09975, allocations: 0 / 446.6 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000202/0.09996, allocations: 97.55 kB / 446.6 MB, free: 11.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.09998, allocations: 4 kB / 446.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1, allocations: 4 kB / 446.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1, allocations: 0 / 446.7 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.1001, allocations: 23.92 kB / 446.7 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1001, allocations: 4 kB / 446.7 MB, free: 11.83 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.1002, allocations: 4 kB / 446.7 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.1002, allocations: 0 / 446.7 MB, free: 11.82 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.000137/0.1004, allocations: 133.6 kB / 446.8 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.1005, allocations: 57.59 kB / 446.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.636e-05/0.1005, allocations: 12.25 kB / 446.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1006, allocations: 0 / 446.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1006, allocations: 0 / 446.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1006, allocations: 3.938 kB / 446.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.1008, allocations: 181.5 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1008, allocations: 4.375 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.1009, allocations: 19.92 kB / 447.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1009, allocations: 0 / 447.1 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.101, allocations: 19.92 kB / 447.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.101, allocations: 0 / 447.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.101, allocations: 0 / 447.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.1012, allocations: 184.2 kB / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.1013, allocations: 93 kB / 447.4 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.1013, allocations: 8 kB / 447.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1014, allocations: 0 / 447.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.1015, allocations: 7.938 kB / 447.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.1015, allocations: 3.984 kB / 447.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.965e-05/0.1016, allocations: 115.8 kB / 447.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1016, allocations: 0 / 447.5 MB, free: 10.89 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003491/0.1019, allocations: 8 kB / 447.5 MB, free: 10.89 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 7.732e-05/0.102, allocations: 95.31 kB / 447.6 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.1023, allocations: 55.91 kB / 447.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1023, allocations: 0 / 447.7 MB, free: 10.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.089e-05/0.1023, allocations: 8 kB / 447.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.1028, allocations: 41.22 kB / 447.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003939/0.1032, allocations: 253.9 kB / 448 MB, free: 10.4 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.1033, allocations: 0.6965 MB / 448.7 MB, free: 9.676 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.1034, allocations: 15.44 kB / 448.7 MB, free: 9.66 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1034, allocations: 4 kB / 448.7 MB, free: 9.656 MB / 298.7 MB Notification: Performance of Templates: time 0.002464/0.1059, allocations: 0.9515 MB / 449.6 MB, free: 8.703 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)