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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007223/0.0007223, allocations: 103 kB / 16.07 MB, free: 32 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.0007598/0.0007598, allocations: 181.5 kB / 16.97 MB, free: 6.879 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.21/1.21, allocations: 205.4 MB / 223.1 MB, free: 5.746 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.06212/0.06212, allocations: 12.61 MB / 284 MB, free: 8.812 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.0006665/0.0006666, allocations: 24.84 kB / 345.2 MB, free: 20.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0717/0.07238, allocations: 50.39 MB / 395.6 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample): time 0.001639/0.07405, allocations: 1.258 MB / 396.8 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007193/0.0748, allocations: 0.4958 MB / 397.3 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.07487, allocations: 0 / 397.3 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.07491, allocations: 3.938 kB / 397.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.07502, allocations: 11.92 kB / 397.3 MB, free: 0.668 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002052/0.07523, allocations: 39.89 kB / 397.4 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.07531, allocations: 43.8 kB / 397.4 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.07541, allocations: 23.97 kB / 397.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.556e-05/0.07547, allocations: 15.94 kB / 397.4 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.591e-05/0.07552, allocations: 19.84 kB / 397.5 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.07554, allocations: 4 kB / 397.5 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-06/0.07556, allocations: 0 / 397.5 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.0756, allocations: 15.92 kB / 397.5 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.07565, allocations: 45.52 kB / 397.5 MB, free: 468 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.282e-05/0.07573, allocations: 47.8 kB / 397.6 MB, free: 420 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.07574, allocations: 0 / 397.6 MB, free: 420 kB / 286.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.07575, allocations: 4 kB / 397.6 MB, free: 416 kB / 286.1 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.07575, allocations: 0 / 397.6 MB, free: 416 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.0003929/0.07615, allocations: 367.5 kB / 397.9 MB, free: 0 / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.07621, allocations: 12.08 kB / 397.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.07625, allocations: 8.844 kB / 398 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.07643, allocations: 203.9 kB / 398.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.07645, allocations: 4.375 kB / 398.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.07646, allocations: 4.375 kB / 398.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.0767, allocations: 113.3 kB / 398.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.07672, allocations: 0 / 398.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.07673, allocations: 0 / 398.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.07674, allocations: 0 / 398.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.639e-05/0.07682, allocations: 23.98 kB / 398.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002565/0.07708, allocations: 269.7 kB / 398.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.115e-05/0.07716, allocations: 37.22 kB / 398.6 MB, free: 15.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.07722, allocations: 33.7 kB / 398.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.07724, allocations: 3.984 kB / 398.6 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.07727, allocations: 30.56 kB / 398.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.07727, allocations: 0 / 398.7 MB, free: 15.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.000213/0.07749, allocations: 81.73 kB / 398.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.07754, allocations: 77.11 kB / 398.8 MB, free: 14.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.07765, allocations: 138.2 kB / 399 MB, free: 14.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.07766, allocations: 25.7 kB / 399 MB, free: 14.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.07771, allocations: 88.12 kB / 399.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.09e-05/0.07772, allocations: 7.938 kB / 399.1 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/0.07775, allocations: 9.719 kB / 399.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.07785, allocations: 314.8 kB / 399.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.019e-05/0.07789, allocations: 16.02 kB / 399.4 MB, free: 14.32 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.708e-05/0.07794, allocations: 21.72 kB / 399.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.07802, allocations: 41.64 kB / 399.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.07803, allocations: 0 / 399.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001132/0.07815, allocations: 69.52 kB / 399.5 MB, free: 14.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.07817, allocations: 5.25 kB / 399.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.07818, allocations: 0 / 399.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.0782, allocations: 0 / 399.5 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.07826, allocations: 8 kB / 399.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.656e-06/0.07827, allocations: 4.062 kB / 399.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.538e-05/0.07831, allocations: 7.984 kB / 399.6 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-06/0.07832, allocations: 0 / 399.6 MB, free: 14.15 MB / 302.1 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 7.102e-05/0.0784, allocations: 117.7 kB / 399.7 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.07846, allocations: 41.61 kB / 399.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.07848, allocations: 7.859 kB / 399.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.07849, allocations: 4 kB / 399.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.0785, allocations: 0 / 399.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.07851, allocations: 4.031 kB / 399.7 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.07867, allocations: 169.6 kB / 399.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.07868, allocations: 8 kB / 399.9 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.07872, allocations: 7.938 kB / 399.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.07873, allocations: 0 / 399.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.07875, allocations: 3.984 kB / 399.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.07875, allocations: 4 kB / 399.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.07876, allocations: 0 / 399.9 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.07892, allocations: 164.2 kB / 400.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.07898, allocations: 93 kB / 400.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.079, allocations: 4 kB / 400.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.236e-05/0.07907, allocations: 3.984 kB / 400.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.0791, allocations: 4 kB / 400.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.07911, allocations: 0 / 400.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.87e-05/0.07917, allocations: 111.3 kB / 400.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07918, allocations: 0 / 400.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002035/0.07938, allocations: 4 kB / 400.3 MB, free: 13.31 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: 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.872e-05/0.07946, allocations: 95.19 kB / 400.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001149/0.07958, allocations: 27.98 kB / 400.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.07959, allocations: 128 / 400.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.63e-05/0.07964, allocations: 12 kB / 400.4 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.07995, allocations: 35.81 kB / 400.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002584/0.08022, allocations: 185.6 kB / 400.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.08041, allocations: 0.6887 MB / 401.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.23e-05/0.08044, allocations: 0 / 401.3 MB, free: 12.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.12e-05/0.08047, allocations: 11.44 kB / 401.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.08048, allocations: 0 / 401.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of Templates: time 0.001873/0.08235, allocations: 477.2 kB / 401.8 MB, free: 11.74 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/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