Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 176.2 kB / 16.45 MB, free: 5.68 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.343/1.343, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0007677/0.0007677, allocations: 95.78 kB / 270.9 MB, free: 8.352 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.07566/0.07566, allocations: 12.6 MB / 331.8 MB, free: 11.37 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004149/0.0004148, allocations: 23.98 kB / 392.7 MB, free: 66.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08572/0.08615, allocations: 50.37 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.001359/0.08757, allocations: 1.238 MB / 444.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006201/0.0882, allocations: 0.5195 MB / 444.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.08829, allocations: 0 / 444.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/0.08833, allocations: 3.938 kB / 444.8 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.08845, allocations: 11.92 kB / 444.8 MB, free: 14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.08868, allocations: 39.89 kB / 444.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.897e-05/0.08877, allocations: 39.86 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.08887, allocations: 11.92 kB / 444.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.229e-05/0.08894, allocations: 27.86 kB / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.423e-05/0.089, allocations: 19.94 kB / 444.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.08902, allocations: 0 / 444.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.294e-05/0.08904, allocations: 4 kB / 444.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.08908, allocations: 15.91 kB / 445 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.0891, allocations: 29.7 kB / 445 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.071e-05/0.08917, allocations: 39.81 kB / 445 MB, free: 13.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.08918, allocations: 0 / 445 MB, free: 13.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.08918, allocations: 0 / 445 MB, free: 13.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.08919, allocations: 0 / 445 MB, free: 13.77 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.0003912/0.08959, allocations: 371.3 kB / 445.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.08963, allocations: 8.031 kB / 445.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.08967, allocations: 7.906 kB / 445.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.08985, allocations: 202.8 kB / 445.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.08987, allocations: 0 / 445.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.08989, allocations: 4 kB / 445.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000236/0.09013, allocations: 109 kB / 445.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-06/0.09015, allocations: 0 / 445.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.09017, allocations: 7.984 kB / 445.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.09018, allocations: 0 / 445.7 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.4e-05/0.09026, allocations: 23.92 kB / 445.7 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.0905, allocations: 257.8 kB / 446 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.97e-05/0.09058, allocations: 49.14 kB / 446 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.09064, allocations: 21.78 kB / 446.1 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.09066, allocations: 7.938 kB / 446.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.09068, allocations: 38.55 kB / 446.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.09069, allocations: 0 / 446.1 MB, free: 12.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002253/0.09092, allocations: 69.53 kB / 446.2 MB, free: 12.42 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.09096, allocations: 85.34 kB / 446.3 MB, free: 12.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.782e-05/0.09106, allocations: 142.1 kB / 446.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.986e-06/0.09107, allocations: 25.7 kB / 446.4 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.09111, allocations: 88.14 kB / 446.5 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.09113, allocations: 7.891 kB / 446.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.09114, allocations: 0 / 446.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.143e-05/0.09119, allocations: 318.8 kB / 446.8 MB, free: 11.72 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/0.09124, allocations: 8 kB / 446.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.09128, allocations: 25.7 kB / 446.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.948e-05/0.09133, allocations: 12 kB / 446.9 MB, free: 11.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.09134, allocations: 3.984 kB / 446.9 MB, free: 11.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000101/0.09145, allocations: 61.69 kB / 446.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.09147, allocations: 4 kB / 446.9 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.09148, allocations: 7.938 kB / 447 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.09149, allocations: 4 kB / 447 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.09156, allocations: 4 kB / 447 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.09158, allocations: 7.938 kB / 447 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.543e-05/0.09162, allocations: 4 kB / 447 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.09163, allocations: 0 / 447 MB, free: 11.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.09169, allocations: 122.6 kB / 447.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.09174, allocations: 41.59 kB / 447.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.472e-05/0.09177, allocations: 15.83 kB / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.09178, allocations: 0 / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.09179, allocations: 0 / 447.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.09179, allocations: 7.953 kB / 447.2 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.09193, allocations: 165.7 kB / 447.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.09194, allocations: 0 / 447.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.456e-05/0.09199, allocations: 11.92 kB / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.092, allocations: 8.031 kB / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.09201, allocations: 0 / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.09202, allocations: 0 / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.09202, allocations: 0 / 447.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.09215, allocations: 164.2 kB / 447.5 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.0922, allocations: 97.03 kB / 447.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.09222, allocations: 3.984 kB / 447.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.09229, allocations: 4 kB / 447.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.09233, allocations: 0 / 447.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.09234, allocations: 0 / 447.6 MB, free: 10.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.802e-05/0.09239, allocations: 115.2 kB / 447.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0924, allocations: 3.938 kB / 447.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002072/0.09261, allocations: 4 kB / 447.7 MB, free: 10.71 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 (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 6.692e-05/0.09268, allocations: 99.19 kB / 447.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.09282, allocations: 23.98 kB / 447.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.09283, allocations: 0 / 447.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.676e-05/0.09287, allocations: 15.98 kB / 447.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.09321, allocations: 15.97 kB / 447.9 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.09349, allocations: 203.6 kB / 448.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.09361, allocations: 0.6887 MB / 448.8 MB, free: 9.605 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.09364, allocations: 15.42 kB / 448.8 MB, free: 9.59 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.09365, allocations: 0 / 448.8 MB, free: 9.59 MB / 298.7 MB Notification: Performance of Templates: time 0.001672/0.09532, allocations: 0.7149 MB / 449.5 MB, free: 8.879 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches