Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.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.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001189/0.001189, allocations: 171.4 kB / 16.76 MB, free: 4.902 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.643/1.643, 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.0008556/0.0008555, allocations: 94.33 kB / 271.3 MB, free: 8.223 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.08349/0.08349, allocations: 12.61 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004166, allocations: 12 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.08732, allocations: 50.38 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.0005758/0.08795, allocations: 229.9 kB / 443.2 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001952/0.08816, allocations: 59.88 kB / 443.2 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.08821, allocations: 7.938 kB / 443.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.318e-05/0.08823, allocations: 0 / 443.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.025e-05/0.08826, allocations: 0 / 443.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.08846, allocations: 15.98 kB / 443.3 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.053e-05/0.0885, allocations: 11.92 kB / 443.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.08856, allocations: 1.531 kB / 443.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.759e-05/0.08859, allocations: 0 / 443.3 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.08864, allocations: 7.984 kB / 443.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.08866, allocations: 0 / 443.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.344e-06/0.08868, allocations: 4 kB / 443.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.002e-05/0.08869, allocations: 0 / 443.3 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.08872, allocations: 25.7 kB / 443.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.162e-05/0.08876, allocations: 4 kB / 443.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.08877, allocations: 3.938 kB / 443.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.08878, allocations: 0 / 443.3 MB, free: 15.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.08879, allocations: 0 / 443.3 MB, free: 15.75 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002452/0.08904, allocations: 319.5 kB / 443.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.08908, allocations: 8.031 kB / 443.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.08912, allocations: 0.9375 kB / 443.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.08924, allocations: 168.4 kB / 443.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.08926, allocations: 4.375 kB / 443.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.08927, allocations: 384 / 443.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.08946, allocations: 148.9 kB / 444 MB, free: 15.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.08948, allocations: 79.47 kB / 444 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.08951, allocations: 166.4 kB / 444.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.08954, allocations: 154.5 kB / 444.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.436e-05/0.08957, allocations: 150.6 kB / 444.5 MB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.08976, allocations: 441.9 kB / 444.9 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.617e-05/0.08981, allocations: 173.1 kB / 445.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.08983, allocations: 80.14 kB / 445.2 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.08985, allocations: 79.28 kB / 445.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.08988, allocations: 105.8 kB / 445.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.08989, allocations: 0 / 445.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.969e-05/0.08995, allocations: 37.58 kB / 445.4 MB, free: 13.49 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.08999, allocations: 130.7 kB / 445.5 MB, free: 13.35 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.32e-05/0.09005, allocations: 97.86 kB / 445.6 MB, free: 13.24 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-06/0.09006, allocations: 25.7 kB / 445.6 MB, free: 13.21 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.421e-05/0.09008, allocations: 84.14 kB / 445.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.09009, allocations: 0 / 445.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-07/0.0901, allocations: 0 / 445.7 MB, free: 13.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.629e-05/0.09015, allocations: 311 kB / 446 MB, free: 12.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-06/0.09016, allocations: 4 kB / 446 MB, free: 12.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-06/0.09017, allocations: 3.938 kB / 446 MB, free: 12.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.15e-05/0.09018, allocations: 75.28 kB / 446.1 MB, free: 12.73 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.0902, allocations: 75.28 kB / 446.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.489e-05/0.09025, allocations: 33.64 kB / 446.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.09027, allocations: 79.28 kB / 446.3 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.09029, allocations: 87.2 kB / 446.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.09033, allocations: 154.6 kB / 446.5 MB, free: 12.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.23e-05/0.09034, allocations: 79.22 kB / 446.6 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.09037, allocations: 154.6 kB / 446.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.09043, allocations: 79.22 kB / 446.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.09045, allocations: 79.28 kB / 446.9 MB, free: 11.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 5.723e-05/0.09051, allocations: 265.1 kB / 447.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.09055, allocations: 105 kB / 447.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.255e-05/0.09058, allocations: 119.8 kB / 447.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.322e-05/0.0906, allocations: 180.3 kB / 447.6 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.597e-05/0.09063, allocations: 180.2 kB / 447.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.093e-05/0.09066, allocations: 176.3 kB / 447.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.09079, allocations: 405.2 kB / 448.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.09081, allocations: 112.9 kB / 448.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.09083, allocations: 101 kB / 448.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.477e-05/0.09086, allocations: 184.5 kB / 448.7 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.09089, allocations: 188.2 kB / 448.9 MB, free: 9.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.218e-05/0.09092, allocations: 176.3 kB / 449.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.311e-05/0.09095, allocations: 188.2 kB / 449.2 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.937e-05/0.09101, allocations: 303.8 kB / 449.5 MB, free: 9.113 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/0.09104, allocations: 182.1 kB / 449.7 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.09108, allocations: 184.2 kB / 449.9 MB, free: 8.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.228e-05/0.09114, allocations: 112.9 kB / 450 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.09117, allocations: 180.3 kB / 450.2 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.09119, allocations: 104.9 kB / 450.3 MB, free: 8.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.628e-05/0.09121, allocations: 83.27 kB / 450.4 MB, free: 8.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09122, allocations: 0 / 450.4 MB, free: 8.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.09147, allocations: 0 / 450.4 MB, free: 8.23 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.464e-05/0.09155, allocations: 170.6 kB / 450.5 MB, free: 8.055 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 3.415e-05/0.09159, allocations: 0 / 450.5 MB, free: 8.055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.0916, allocations: 0 / 450.5 MB, free: 8.055 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.123e-06/0.09161, allocations: 0 / 450.5 MB, free: 8.055 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.09186, allocations: 0.5224 MB / 451 MB, free: 7.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001483/0.09201, allocations: 179.8 kB / 451.2 MB, free: 7.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.217e-05/0.09211, allocations: 0.6731 MB / 451.9 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.09213, allocations: 11.38 kB / 451.9 MB, free: 6.605 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.09214, allocations: 0 / 451.9 MB, free: 6.605 MB / 298.7 MB Notification: Performance of Templates: time 0.001172/0.09331, allocations: 315.9 kB / 452.2 MB, free: 6.297 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe 2>&1)