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.0008589/0.000859, allocations: 178.6 kB / 16.77 MB, free: 4.926 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.624/1.624, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0009129/0.0009132, allocations: 82.41 kB / 271.3 MB, free: 8.242 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.08824/0.08824, allocations: 12.6 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004319/0.000432, allocations: 16 kB / 392.6 MB, free: 66.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09516/0.09561, allocations: 50.38 MB / 443 MB, free: 16.14 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.002066/0.09774, allocations: 1.321 MB / 444.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009451/0.09872, allocations: 0.4961 MB / 444.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.09888, allocations: 0 / 444.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.979e-05/0.09895, allocations: 3.938 kB / 444.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.09913, allocations: 11.92 kB / 444.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.09961, allocations: 47.81 kB / 444.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.09978, allocations: 51.73 kB / 444.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.09993, allocations: 23.98 kB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1, allocations: 19.94 kB / 444.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.515e-05/0.1001, allocations: 27.84 kB / 445 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.1002, allocations: 4 kB / 445 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.445e-05/0.1002, allocations: 0 / 445 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.28e-05/0.1002, allocations: 11.92 kB / 445 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.1003, allocations: 53.56 kB / 445 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.1004, allocations: 44.14 kB / 445.1 MB, free: 14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.1004, allocations: 0 / 445.1 MB, free: 14 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1004, allocations: 4 kB / 445.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1004, allocations: 0 / 445.1 MB, free: 13.99 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.0005184/0.101, allocations: 367.2 kB / 445.4 MB, free: 13.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.101, allocations: 8.031 kB / 445.4 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.1011, allocations: 12.83 kB / 445.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.1013, allocations: 196.6 kB / 445.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1013, allocations: 384 / 445.6 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.1013, allocations: 16.12 kB / 445.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003056/0.1016, allocations: 120.9 kB / 445.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.1016, allocations: 0 / 445.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1017, allocations: 4 kB / 445.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1017, allocations: 0 / 445.8 MB, free: 13.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.329e-05/0.1018, allocations: 27.98 kB / 445.8 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.1021, allocations: 277.7 kB / 446.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.1024, allocations: 85.12 kB / 446.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.219e-05/0.1025, allocations: 29.77 kB / 446.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1025, allocations: 4 kB / 446.2 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.1026, allocations: 34.5 kB / 446.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1026, allocations: 4 kB / 446.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002796/0.1029, allocations: 85.52 kB / 446.3 MB, free: 12.55 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.1029, allocations: 89.09 kB / 446.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.103, allocations: 138.4 kB / 446.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.1031, allocations: 29.7 kB / 446.6 MB, free: 12.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.1031, allocations: 96.25 kB / 446.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.134e-05/0.1031, allocations: 11.83 kB / 446.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.1031, allocations: 4 kB / 446.7 MB, free: 12.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.778e-05/0.1032, allocations: 322.8 kB / 447 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.657e-05/0.1033, allocations: 16 kB / 447 MB, free: 11.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.508e-05/0.1034, allocations: 52.28 kB / 447.1 MB, free: 11.74 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.1035, allocations: 153.3 kB / 447.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1036, allocations: 4 kB / 447.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001552/0.1037, allocations: 89.45 kB / 447.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.1037, allocations: 8.875 kB / 447.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1038, allocations: 4 kB / 447.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1038, allocations: 0 / 447.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.653e-05/0.1039, allocations: 16.14 kB / 447.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.1039, allocations: 11.94 kB / 447.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.89e-05/0.1039, allocations: 11.94 kB / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1039, allocations: 0 / 447.3 MB, free: 11.41 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.0001399/0.1041, allocations: 125.6 kB / 447.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.523e-05/0.1042, allocations: 57.59 kB / 447.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.1042, allocations: 12.25 kB / 447.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1042, allocations: 0 / 447.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.1042, allocations: 0 / 447.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.1042, allocations: 7.938 kB / 447.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.1044, allocations: 181.5 kB / 447.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1044, allocations: 0 / 447.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.1045, allocations: 23.92 kB / 447.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1045, allocations: 3.984 kB / 447.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.1045, allocations: 7.938 kB / 447.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.1046, allocations: 0 / 447.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1046, allocations: 0 / 447.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.1047, allocations: 188.2 kB / 447.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.1048, allocations: 89 kB / 448 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.1048, allocations: 4 kB / 448 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.1049, allocations: 4 kB / 448 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.105, allocations: 8.359 kB / 448 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.105, allocations: 7.875 kB / 448.1 MB, free: 10.6 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.644e-05/0.105, allocations: 115.2 kB / 448.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.105, allocations: 0 / 448.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002217/0.1053, allocations: 12 kB / 448.2 MB, free: 10.48 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 8.51e-05/0.1054, allocations: 95.19 kB / 448.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001717/0.1055, allocations: 51.91 kB / 448.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1055, allocations: 4.312 kB / 448.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.706e-05/0.1056, allocations: 8 kB / 448.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.106, allocations: 41.3 kB / 448.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.1063, allocations: 249.6 kB / 448.6 MB, free: 9.992 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.1065, allocations: 0.6965 MB / 449.3 MB, free: 9.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.1065, allocations: 11.44 kB / 449.3 MB, free: 9.258 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.1065, allocations: 0 / 449.3 MB, free: 9.258 MB / 298.7 MB Notification: Performance of Templates: time 0.002501/0.109, allocations: 0.9534 MB / 450.3 MB, free: 8.305 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)