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.000971/0.000971, allocations: 180.6 kB / 16.45 MB, free: 5.551 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.3/1.3, allocations: 205.4 MB / 222.6 MB, free: 9.113 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.0007888/0.0007888, allocations: 98.28 kB / 270.9 MB, free: 8.359 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.06876/0.06876, allocations: 12.59 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004564, allocations: 12 kB / 392.7 MB, free: 66.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08935/0.08983, allocations: 50.38 MB / 443 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample): time 0.001595/0.09148, allocations: 1.246 MB / 444.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007579/0.09227, allocations: 492 kB / 444.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.0924, allocations: 4 kB / 444.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.843e-05/0.09245, allocations: 3.938 kB / 444.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.09261, allocations: 11.91 kB / 444.8 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003071/0.09293, allocations: 39.91 kB / 444.8 MB, free: 14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.949e-05/0.09304, allocations: 43.86 kB / 444.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.778e-05/0.09313, allocations: 7.984 kB / 444.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.461e-05/0.09322, allocations: 19.92 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.866e-05/0.09328, allocations: 19.86 kB / 444.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.09331, allocations: 0 / 444.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.236e-05/0.09333, allocations: 0 / 444.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.09339, allocations: 15.92 kB / 444.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.09342, allocations: 33.7 kB / 445 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.28e-05/0.0935, allocations: 35.89 kB / 445 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.09352, allocations: 3.984 kB / 445 MB, free: 13.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09352, allocations: 0 / 445 MB, free: 13.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.09353, allocations: 0 / 445 MB, free: 13.81 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.0004186/0.09396, allocations: 379.2 kB / 445.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.094, allocations: 8.031 kB / 445.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.09405, allocations: 7.906 kB / 445.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.09423, allocations: 190.8 kB / 445.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.09425, allocations: 8 kB / 445.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.09427, allocations: 4 kB / 445.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.09454, allocations: 101 kB / 445.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.09457, allocations: 3.938 kB / 445.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.09458, allocations: 0 / 445.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.09459, allocations: 7.984 kB / 445.7 MB, free: 13.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.242e-05/0.09468, allocations: 27.92 kB / 445.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.09497, allocations: 261.8 kB / 446 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.053e-05/0.09507, allocations: 53.14 kB / 446 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.09512, allocations: 17.78 kB / 446 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.09515, allocations: 3.938 kB / 446 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.09517, allocations: 34.56 kB / 446.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.09518, allocations: 0 / 446.1 MB, free: 12.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002312/0.09542, allocations: 77.52 kB / 446.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.09546, allocations: 81.11 kB / 446.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.521e-05/0.09555, allocations: 142.1 kB / 446.4 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.09556, allocations: 25.7 kB / 446.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.0956, allocations: 88.39 kB / 446.5 MB, free: 12.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.544e-05/0.09562, allocations: 11.91 kB / 446.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.09563, allocations: 0 / 446.5 MB, free: 12.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.09569, allocations: 314.8 kB / 446.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.09574, allocations: 12 kB / 446.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.731e-05/0.09578, allocations: 25.64 kB / 446.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.135e-05/0.09583, allocations: 12.06 kB / 446.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.09584, allocations: 0 / 446.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001084/0.09595, allocations: 57.67 kB / 446.9 MB, free: 11.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.09598, allocations: 4 kB / 446.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.09599, allocations: 0 / 446.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.096, allocations: 0 / 446.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.09608, allocations: 20 kB / 446.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.0961, allocations: 3.953 kB / 446.9 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.09614, allocations: 11.98 kB / 446.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.09615, allocations: 0 / 446.9 MB, free: 11.6 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.236e-05/0.09621, allocations: 114.5 kB / 447.1 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.687e-05/0.09626, allocations: 41.61 kB / 447.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.0963, allocations: 15.81 kB / 447.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.0963, allocations: 0 / 447.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.09631, allocations: 4.031 kB / 447.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.09632, allocations: 3.953 kB / 447.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.09645, allocations: 169.7 kB / 447.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.09646, allocations: 0 / 447.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.09651, allocations: 4 kB / 447.3 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.09652, allocations: 3.984 kB / 447.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.09653, allocations: 4 kB / 447.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.09654, allocations: 3.938 kB / 447.3 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.09654, allocations: 3.938 kB / 447.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.09668, allocations: 168.2 kB / 447.5 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.649e-05/0.09673, allocations: 97 kB / 447.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.09675, allocations: 0 / 447.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.09683, allocations: 7.984 kB / 447.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.09686, allocations: 0 / 447.6 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.09687, allocations: 4.031 kB / 447.6 MB, free: 10.86 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.09693, allocations: 111.2 kB / 447.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09693, allocations: 0 / 447.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.09716, allocations: 4 kB / 447.7 MB, free: 10.75 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 7.107e-05/0.09723, allocations: 91.25 kB / 447.8 MB, free: 10.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.09737, allocations: 31.98 kB / 447.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.09738, allocations: 4.062 kB / 447.8 MB, free: 10.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.09742, allocations: 8 kB / 447.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.09776, allocations: 20.02 kB / 447.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.09806, allocations: 207.5 kB / 448 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.09819, allocations: 0.6887 MB / 448.7 MB, free: 9.637 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.09822, allocations: 7.438 kB / 448.7 MB, free: 9.629 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.09823, allocations: 0 / 448.7 MB, free: 9.629 MB / 298.7 MB Notification: Performance of Templates: time 0.00168/0.09991, allocations: 0.7184 MB / 449.5 MB, free: 8.914 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