Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009633/0.0009634, allocations: 88.08 kB / 16.05 MB, free: 48 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007996/0.0007997, allocations: 188.7 kB / 16.96 MB, free: 6.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.214/1.214, allocations: 205.4 MB / 223.1 MB, free: 5.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06368/0.06368, allocations: 12.62 MB / 284 MB, free: 8.816 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006385/0.0006385, allocations: 27.94 kB / 345.2 MB, free: 20.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07783/0.07847, allocations: 50.38 MB / 395.5 MB, free: 2.465 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.001649/0.08016, allocations: 1.337 MB / 396.9 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007184/0.08089, allocations: 0.5192 MB / 397.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.349e-05/0.08098, allocations: 7.938 kB / 397.4 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.08101, allocations: 3.984 kB / 397.4 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.08113, allocations: 7.875 kB / 397.4 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.08138, allocations: 55.89 kB / 397.5 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 8.944e-05/0.08147, allocations: 47.8 kB / 397.5 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.08157, allocations: 19.97 kB / 397.5 MB, free: 456 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.08164, allocations: 23.92 kB / 397.6 MB, free: 432 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.337e-05/0.0817, allocations: 23.86 kB / 397.6 MB, free: 408 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.08172, allocations: 4 kB / 397.6 MB, free: 404 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.08173, allocations: 0 / 397.6 MB, free: 404 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.08178, allocations: 7.938 kB / 397.6 MB, free: 396 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.08183, allocations: 61.48 kB / 397.7 MB, free: 328 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.108e-05/0.08193, allocations: 51.97 kB / 397.7 MB, free: 276 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.08194, allocations: 3.938 kB / 397.7 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08195, allocations: 0 / 397.7 MB, free: 272 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.758e-06/0.08195, allocations: 0 / 397.7 MB, free: 272 kB / 286.1 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.0004088/0.08237, allocations: 375.2 kB / 398.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.08241, allocations: 8.031 kB / 398.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.08245, allocations: 12.84 kB / 398.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.08261, allocations: 196.7 kB / 398.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.08263, allocations: 4.375 kB / 398.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.08266, allocations: 4.125 kB / 398.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002474/0.08291, allocations: 124.9 kB / 398.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.08293, allocations: 0 / 398.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.08295, allocations: 0 / 398.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.08296, allocations: 0 / 398.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.08304, allocations: 27.98 kB / 398.4 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.08335, allocations: 277.7 kB / 398.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/0.08364, allocations: 77.12 kB / 398.8 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.08371, allocations: 41.7 kB / 398.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.08373, allocations: 0 / 398.8 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.08376, allocations: 34.5 kB / 398.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.08376, allocations: 0 / 398.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002546/0.08402, allocations: 93.75 kB / 399 MB, free: 14.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.08409, allocations: 92.97 kB / 399.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.08421, allocations: 146.4 kB / 399.2 MB, free: 14.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.08423, allocations: 25.7 kB / 399.2 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.08428, allocations: 96.08 kB / 399.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.08431, allocations: 7.891 kB / 399.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.08433, allocations: 13.72 kB / 399.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.89e-05/0.08444, allocations: 322.9 kB / 399.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.0845, allocations: 19.98 kB / 399.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.469e-05/0.08457, allocations: 44.28 kB / 399.7 MB, free: 14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.08477, allocations: 157.3 kB / 399.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.08478, allocations: 0 / 399.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001662/0.08495, allocations: 101.5 kB / 400 MB, free: 13.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.08497, allocations: 4 kB / 400 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.08498, allocations: 0 / 400 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.085, allocations: 4 kB / 400 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.08507, allocations: 12 kB / 400 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.08508, allocations: 3.938 kB / 400 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.08514, allocations: 16.08 kB / 400 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.08516, allocations: 8 kB / 400 MB, free: 13.66 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001205/0.08528, allocations: 117.8 kB / 400.1 MB, free: 13.53 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.08538, allocations: 53.59 kB / 400.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.08542, allocations: 20.23 kB / 400.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.08543, allocations: 0 / 400.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.08544, allocations: 0 / 400.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.08545, allocations: 3.938 kB / 400.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.08562, allocations: 181.5 kB / 400.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.08563, allocations: 8 kB / 400.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.08574, allocations: 23.92 kB / 400.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.08575, allocations: 0 / 400.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.08576, allocations: 0 / 400.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.08577, allocations: 4 kB / 400.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.08578, allocations: 3.938 kB / 400.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.08598, allocations: 192.2 kB / 400.6 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.08605, allocations: 92.94 kB / 400.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.08608, allocations: 4 kB / 400.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.08616, allocations: 4 kB / 400.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.0862, allocations: 0 / 400.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.08621, allocations: 11.92 kB / 400.7 MB, free: 12.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.263e-05/0.08631, allocations: 108 kB / 400.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.08632, allocations: 3.938 kB / 400.8 MB, free: 12.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002222/0.08655, allocations: 16 kB / 400.8 MB, free: 12.72 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.257e-05/0.08665, allocations: 95.23 kB / 400.9 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.08683, allocations: 51.86 kB / 401 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.08684, allocations: 0 / 401 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.962e-05/0.08689, allocations: 16.3 kB / 401 MB, free: 12.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.08725, allocations: 36.53 kB / 401 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.08762, allocations: 231.8 kB / 401.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.0879, allocations: 0.6973 MB / 402 MB, free: 11.54 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.08795, allocations: 7.781 kB / 402 MB, free: 11.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.877e-05/0.08798, allocations: 11.42 kB / 402 MB, free: 11.52 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.08799, allocations: 4 kB / 402 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Templates: time 0.002853/0.09084, allocations: 0.7022 MB / 402.7 MB, free: 10.81 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe 2>&1) Environment - environmentSimulation: