Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.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.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 169.5 kB / 16.8 MB, free: 4.992 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.366/1.366, allocations: 205.4 MB / 223 MB, free: 8.941 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.0007205/0.0007208, allocations: 86.36 kB / 271.3 MB, free: 8.23 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.06732/0.06732, allocations: 12.59 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.000364, allocations: 15.94 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08172/0.08211, allocations: 50.36 MB / 443.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample): time 0.001521/0.08368, allocations: 1.266 MB / 444.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006956/0.0844, allocations: 499.7 kB / 445.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.08451, allocations: 8 kB / 445.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.08455, allocations: 0 / 445.4 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001274/0.08469, allocations: 7.922 kB / 445.5 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.08497, allocations: 39.91 kB / 445.5 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.26e-05/0.08506, allocations: 51.78 kB / 445.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.08517, allocations: 15.97 kB / 445.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.699e-05/0.08524, allocations: 15.92 kB / 445.6 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.068e-05/0.0853, allocations: 23.88 kB / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.08533, allocations: 0 / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.08534, allocations: 3.938 kB / 445.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.0854, allocations: 15.92 kB / 445.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.648e-05/0.08544, allocations: 49.5 kB / 445.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.576e-05/0.08551, allocations: 31.94 kB / 445.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.08552, allocations: 0 / 445.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.08553, allocations: 0 / 445.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.08553, allocations: 4 kB / 445.7 MB, free: 13.39 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.0003638/0.0859, allocations: 371.5 kB / 446.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.08595, allocations: 12.03 kB / 446.1 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.086, allocations: 8.844 kB / 446.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.08615, allocations: 196 kB / 446.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.08618, allocations: 8.375 kB / 446.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.08619, allocations: 4.375 kB / 446.3 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.08645, allocations: 113.3 kB / 446.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.08647, allocations: 3.938 kB / 446.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.08648, allocations: 0 / 446.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.08649, allocations: 0 / 446.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.08657, allocations: 31.86 kB / 446.4 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/0.08684, allocations: 257.8 kB / 446.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.387e-05/0.08692, allocations: 53.14 kB / 446.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.08697, allocations: 21.77 kB / 446.8 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.087, allocations: 4 kB / 446.8 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.08703, allocations: 30.56 kB / 446.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.08703, allocations: 0 / 446.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002223/0.08726, allocations: 77.52 kB / 446.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.08731, allocations: 81.36 kB / 446.9 MB, free: 11.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.226e-05/0.0874, allocations: 138.2 kB / 447.1 MB, free: 11.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.08742, allocations: 29.64 kB / 447.1 MB, free: 11.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.08745, allocations: 88.12 kB / 447.2 MB, free: 11.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.08747, allocations: 8 kB / 447.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.08748, allocations: 0 / 447.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.313e-05/0.08753, allocations: 310.8 kB / 447.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.005e-05/0.08758, allocations: 11.98 kB / 447.5 MB, free: 11.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.545e-05/0.08762, allocations: 25.72 kB / 447.5 MB, free: 11.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.991e-05/0.0877, allocations: 33.64 kB / 447.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.08771, allocations: 0 / 447.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001043/0.08782, allocations: 65.59 kB / 447.6 MB, free: 11.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.08784, allocations: 11.98 kB / 447.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.08785, allocations: 0 / 447.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.08786, allocations: 0 / 447.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.971e-05/0.08794, allocations: 4 kB / 447.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.08795, allocations: 4 kB / 447.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.08799, allocations: 0 / 447.7 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.08801, allocations: 8.062 kB / 447.7 MB, free: 11.16 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 6.155e-05/0.08808, allocations: 122.6 kB / 447.8 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.08813, allocations: 41.55 kB / 447.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/0.08817, allocations: 15.81 kB / 447.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.08818, allocations: 4 kB / 447.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.08818, allocations: 0 / 447.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.08819, allocations: 0 / 447.8 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.08831, allocations: 165.6 kB / 448 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.08832, allocations: 0 / 448 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/0.08837, allocations: 12.03 kB / 448 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.08838, allocations: 3.938 kB / 448 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.0884, allocations: 4 kB / 448 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.0884, allocations: 0 / 448 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.08841, allocations: 11.92 kB / 448 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.08854, allocations: 164.2 kB / 448.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.479e-05/0.08859, allocations: 93 kB / 448.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.08861, allocations: 8 kB / 448.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/0.08868, allocations: 0 / 448.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.08872, allocations: 7.984 kB / 448.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.08872, allocations: 0 / 448.3 MB, free: 10.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.687e-05/0.08878, allocations: 103.3 kB / 448.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.08878, allocations: 0 / 448.4 MB, free: 10.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.08899, allocations: 8.031 kB / 448.4 MB, free: 10.3 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: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 6.349e-05/0.08905, allocations: 95.23 kB / 448.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.08917, allocations: 31.92 kB / 448.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.08918, allocations: 0 / 448.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.482e-05/0.08922, allocations: 4 kB / 448.5 MB, free: 10.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.08957, allocations: 36.12 kB / 448.6 MB, free: 10.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.08986, allocations: 203.2 kB / 448.8 MB, free: 9.898 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.09002, allocations: 0.6927 MB / 449.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.09005, allocations: 11.44 kB / 449.5 MB, free: 9.168 MB / 298.7 MB Notification: Performance of SimCode: time 9.41e-07/0.09005, allocations: 0 / 449.5 MB, free: 9.168 MB / 298.7 MB Notification: Performance of Templates: time 0.001685/0.09175, allocations: 0.7191 MB / 450.2 MB, free: 8.453 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches