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.001144/0.001149, allocations: 178.7 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.622/1.622, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0007756/0.0007756, allocations: 90.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.08137/0.08137, allocations: 12.59 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004564, allocations: 16 kB / 392.6 MB, free: 66.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09403/0.0945, allocations: 50.38 MB / 443 MB, free: 16.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator): time 0.001511/0.09606, allocations: 1.337 MB / 444.3 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006539/0.09673, allocations: 492 kB / 444.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.09682, allocations: 0 / 444.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.09686, allocations: 3.938 kB / 444.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.8e-05/0.09696, allocations: 15.92 kB / 444.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.09725, allocations: 31.91 kB / 444.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.09738, allocations: 75.75 kB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.09749, allocations: 15.94 kB / 444.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.433e-05/0.09758, allocations: 27.86 kB / 444.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.09766, allocations: 31.84 kB / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.09769, allocations: 4 kB / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/0.09771, allocations: 0 / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.09773, allocations: 15.92 kB / 445 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.09779, allocations: 49.56 kB / 445 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.818e-05/0.09787, allocations: 48.14 kB / 445.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.09788, allocations: 0 / 445.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.09789, allocations: 0 / 445.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.0979, allocations: 0 / 445.1 MB, free: 13.97 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005555/0.09846, allocations: 383.2 kB / 445.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.09851, allocations: 8.031 kB / 445.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.09855, allocations: 12.78 kB / 445.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.09871, allocations: 196.2 kB / 445.7 MB, free: 13.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.09873, allocations: 4.375 kB / 445.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.09876, allocations: 12.38 kB / 445.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.09901, allocations: 126.2 kB / 445.8 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.026e-06/0.09903, allocations: 4 kB / 445.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.09905, allocations: 0 / 445.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.09906, allocations: 3.938 kB / 445.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.09917, allocations: 39.92 kB / 445.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003534/0.09953, allocations: 381.8 kB / 446.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.09983, allocations: 103.8 kB / 446.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.09991, allocations: 42.62 kB / 446.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.09994, allocations: 0 / 446.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.1001, allocations: 96.94 kB / 446.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1001, allocations: 0 / 446.5 MB, free: 12.37 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002857/0.1004, allocations: 117.7 kB / 446.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.392e-05/0.1005, allocations: 114.7 kB / 446.7 MB, free: 12.11 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.239e-05/0.1006, allocations: 129.8 kB / 446.8 MB, free: 11.97 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1006, allocations: 25.7 kB / 446.8 MB, free: 11.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.731e-05/0.1006, allocations: 96.12 kB / 446.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.1006, allocations: 11.81 kB / 447 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.1007, allocations: 4 kB / 447 MB, free: 11.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.402e-05/0.1007, allocations: 322.8 kB / 447.3 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.86e-05/0.1008, allocations: 31.95 kB / 447.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.74e-05/0.1009, allocations: 77.92 kB / 447.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001822/0.101, allocations: 183 kB / 447.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1011, allocations: 0 / 447.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001756/0.1012, allocations: 125.9 kB / 447.7 MB, free: 11.03 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1013, allocations: 4 kB / 447.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1013, allocations: 0 / 447.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1013, allocations: 4 kB / 447.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.1014, allocations: 19.98 kB / 447.7 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1014, allocations: 192 / 447.7 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.295e-05/0.1015, allocations: 31.83 kB / 447.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.1015, allocations: 7.938 kB / 447.7 MB, free: 10.96 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: 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 9.485e-05/0.1016, allocations: 126.5 kB / 447.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.1017, allocations: 53.69 kB / 447.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.1017, allocations: 11.91 kB / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1017, allocations: 0 / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1017, allocations: 4 kB / 447.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.1017, allocations: 7.984 kB / 447.9 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.102, allocations: 346.3 kB / 448.3 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.102, allocations: 0 / 448.3 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.1021, allocations: 23.97 kB / 448.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1021, allocations: 0 / 448.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.1022, allocations: 4 kB / 448.3 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1022, allocations: 11.94 kB / 448.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1022, allocations: 3.938 kB / 448.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.1024, allocations: 209.1 kB / 448.5 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.1024, allocations: 85.02 kB / 448.6 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.683e-05/0.1025, allocations: 4 kB / 448.6 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.1026, allocations: 11.98 kB / 448.6 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.1026, allocations: 15.92 kB / 448.6 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1026, allocations: 4 kB / 448.7 MB, free: 9.941 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.363e-05/0.1027, allocations: 95.27 kB / 448.7 MB, free: 9.848 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1027, allocations: 0 / 448.7 MB, free: 9.848 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.1029, allocations: 16 kB / 448.8 MB, free: 9.832 MB / 298.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 8.142e-05/0.103, allocations: 111.2 kB / 448.9 MB, free: 9.715 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.1032, allocations: 75.83 kB / 448.9 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1032, allocations: 0 / 448.9 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.313e-05/0.1033, allocations: 23.98 kB / 449 MB, free: 9.617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.1037, allocations: 44.39 kB / 449 MB, free: 9.574 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.104, allocations: 250.3 kB / 449.3 MB, free: 9.293 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.1041, allocations: 0.7005 MB / 450 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.1042, allocations: 19.42 kB / 450 MB, free: 8.547 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1042, allocations: 0 / 450 MB, free: 8.547 MB / 298.7 MB Notification: Performance of Templates: time 0.002317/0.1065, allocations: 1.187 MB / 451.2 MB, free: 7.363 MB / 298.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)