Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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.0008798/0.0008799, allocations: 174.3 kB / 16.77 MB, free: 5.023 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.419/1.419, allocations: 205 MB / 222.5 MB, free: 9.137 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.0007503/0.0007502, allocations: 90.3 kB / 270.5 MB, free: 8.66 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.06899/0.06899, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003957, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07768/0.0781, allocations: 49.98 MB / 441.7 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator): time 0.001702/0.07985, allocations: 1.371 MB / 443.1 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007385/0.08062, allocations: 0.5074 MB / 443.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.08075, allocations: 4 kB / 443.6 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.789e-05/0.08083, allocations: 3.938 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.08093, allocations: 11.94 kB / 443.6 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.08122, allocations: 43.89 kB / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.08135, allocations: 71.72 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.08148, allocations: 27.97 kB / 443.7 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.08157, allocations: 27.86 kB / 443.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.08165, allocations: 23.86 kB / 443.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.08167, allocations: 4 kB / 443.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.08169, allocations: 0 / 443.8 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.08172, allocations: 11.92 kB / 443.8 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.08177, allocations: 35.78 kB / 443.8 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.552e-05/0.08186, allocations: 40.16 kB / 443.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.08187, allocations: 0 / 443.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.08187, allocations: 0 / 443.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.08188, allocations: 0 / 443.9 MB, free: 14.19 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.0005054/0.08239, allocations: 383.2 kB / 444.2 MB, free: 13.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.08244, allocations: 8.031 kB / 444.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.08249, allocations: 8.844 kB / 444.3 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.08265, allocations: 188.2 kB / 444.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.08268, allocations: 12.31 kB / 444.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.0827, allocations: 8.375 kB / 444.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.08295, allocations: 134.1 kB / 444.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.08298, allocations: 0 / 444.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.08299, allocations: 0 / 444.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.083, allocations: 0 / 444.6 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.08312, allocations: 43.91 kB / 444.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.08349, allocations: 373.8 kB / 445 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.08381, allocations: 107.8 kB / 445.1 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.785e-05/0.08389, allocations: 38.62 kB / 445.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.08392, allocations: 11.94 kB / 445.1 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/0.08408, allocations: 85.02 kB / 445.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.08409, allocations: 0 / 445.2 MB, free: 12.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000312/0.08441, allocations: 125.7 kB / 445.4 MB, free: 12.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.08448, allocations: 118.7 kB / 445.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.772e-05/0.08456, allocations: 127.8 kB / 445.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.08458, allocations: 25.7 kB / 445.6 MB, free: 12.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.08463, allocations: 96.08 kB / 445.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.08466, allocations: 15.8 kB / 445.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.392e-05/0.08469, allocations: 21.84 kB / 445.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.08474, allocations: 326.8 kB / 446.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.341e-05/0.08483, allocations: 19.98 kB / 446.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.85e-05/0.08491, allocations: 66 kB / 446.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.0851, allocations: 191 kB / 446.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.08512, allocations: 4 kB / 446.3 MB, free: 11.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001835/0.08531, allocations: 117.4 kB / 446.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.08533, allocations: 4 kB / 446.5 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.08534, allocations: 4 kB / 446.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.08536, allocations: 192 / 446.5 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-05/0.08544, allocations: 27.92 kB / 446.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.08546, allocations: 3.984 kB / 446.5 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.89e-05/0.08555, allocations: 27.83 kB / 446.5 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.08557, allocations: 4 kB / 446.5 MB, free: 11.17 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,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.649e-05/0.08566, allocations: 122.6 kB / 446.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.08574, allocations: 57.69 kB / 446.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.08578, allocations: 15.89 kB / 446.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.08579, allocations: 4 kB / 446.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.0858, allocations: 0 / 446.7 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.08581, allocations: 3.938 kB / 446.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002804/0.08609, allocations: 354.3 kB / 447.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.08611, allocations: 0 / 447.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.08621, allocations: 19.98 kB / 447.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.08623, allocations: 4 kB / 447.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.08624, allocations: 4 kB / 447.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.08625, allocations: 0 / 447.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.08625, allocations: 3.938 kB / 447.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.08646, allocations: 217.6 kB / 447.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.369e-05/0.08649, allocations: 81.02 kB / 447.4 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.08652, allocations: 4 kB / 447.4 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.08663, allocations: 15.98 kB / 447.4 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.322e-05/0.08668, allocations: 19.84 kB / 447.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.0867, allocations: 4 kB / 447.4 MB, free: 10.14 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.828e-05/0.08674, allocations: 101.6 kB / 447.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08674, allocations: 3.938 kB / 447.5 MB, free: 10.04 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002298/0.08698, allocations: 20 kB / 447.6 MB, free: 10.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.176e-05/0.08706, allocations: 103.2 kB / 447.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001927/0.08726, allocations: 67.91 kB / 447.7 MB, free: 9.848 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.08727, allocations: 0 / 447.7 MB, free: 9.848 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.46e-05/0.08734, allocations: 32.3 kB / 447.8 MB, free: 9.816 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.08769, allocations: 36.02 kB / 447.8 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.08804, allocations: 252.7 kB / 448 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.08817, allocations: 0.7004 MB / 448.7 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.08821, allocations: 11.44 kB / 448.8 MB, free: 8.762 MB / 298.7 MB Notification: Performance of SimCode: time 4.3e-07/0.08822, allocations: 0 / 448.8 MB, free: 8.762 MB / 298.7 MB Notification: Performance of Templates: time 0.002333/0.09055, allocations: 1.205 MB / 450 MB, free: 7.555 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe 2>&1)