Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001882/0.001882, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001382, allocations: 99.44 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001469, allocations: 52.16 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2938, allocations: 50.45 MB / 407 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002482/0.2963, allocations: 1.614 MB / 408.7 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00089/0.2972, allocations: 0.5055 MB / 409.2 MB, free: 25.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.67e-05/0.2973, allocations: 7.938 kB / 409.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.997e-05/0.2974, allocations: 0 / 409.2 MB, free: 25.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.2975, allocations: 11.92 kB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.2978, allocations: 43.89 kB / 409.2 MB, free: 25.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.97e-05/0.2979, allocations: 46.61 kB / 409.3 MB, free: 25.58 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.298, allocations: 19.97 kB / 409.3 MB, free: 25.56 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.2981, allocations: 27.91 kB / 409.3 MB, free: 25.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.439e-05/0.2982, allocations: 19.86 kB / 409.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.2982, allocations: 6.938 kB / 409.3 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.259e-05/0.2983, allocations: 4 kB / 409.3 MB, free: 25.51 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.945e-05/0.2983, allocations: 11.94 kB / 409.4 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.2984, allocations: 35.72 kB / 409.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.2985, allocations: 47.83 kB / 409.4 MB, free: 25.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2985, allocations: 0 / 409.4 MB, free: 25.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2985, allocations: 0 / 409.4 MB, free: 25.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.2985, allocations: 0 / 409.4 MB, free: 25.41 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.0004449/0.299, allocations: 388.7 kB / 409.8 MB, free: 24.99 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.299, allocations: 8.594 kB / 409.8 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.2992, allocations: 20.73 kB / 409.8 MB, free: 24.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.2993, allocations: 188.2 kB / 410 MB, free: 24.74 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.2993, allocations: 384 / 410 MB, free: 24.74 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.2993, allocations: 4.375 kB / 410 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.2996, allocations: 113.3 kB / 410.1 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.2996, allocations: 0 / 410.1 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.2996, allocations: 0 / 410.1 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2996, allocations: 0 / 410.1 MB, free: 24.61 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.639e-05/0.2997, allocations: 23.86 kB / 410.2 MB, free: 24.58 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002305/0.2999, allocations: 269.7 kB / 410.4 MB, free: 24.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.528e-05/0.3, allocations: 49.14 kB / 410.5 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.126e-05/0.3, allocations: 17.78 kB / 410.5 MB, free: 24.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3001, allocations: 4 kB / 410.5 MB, free: 24.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.3001, allocations: 38.56 kB / 410.5 MB, free: 24.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3001, allocations: 0 / 410.5 MB, free: 24.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001996/0.3003, allocations: 61.61 kB / 410.6 MB, free: 24.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.3004, allocations: 77.11 kB / 410.7 MB, free: 23.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.865e-05/0.3004, allocations: 144.5 kB / 410.8 MB, free: 23.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.3005, allocations: 29.95 kB / 410.8 MB, free: 23.78 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.928e-05/0.3005, allocations: 88.14 kB / 410.9 MB, free: 23.69 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.3005, allocations: 11.84 kB / 410.9 MB, free: 23.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.3005, allocations: 13.7 kB / 411 MB, free: 23.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.454e-05/0.3006, allocations: 318.8 kB / 411.3 MB, free: 23.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.3006, allocations: 7.984 kB / 411.3 MB, free: 23.33 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.219e-05/0.3007, allocations: 17.72 kB / 411.3 MB, free: 23.31 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.909e-05/0.3008, allocations: 37.7 kB / 411.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3008, allocations: 0 / 411.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.535e-05/0.3009, allocations: 61.47 kB / 411.4 MB, free: 23.2 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3009, allocations: 10.97 kB / 411.4 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3009, allocations: 0 / 411.4 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3009, allocations: 3.984 kB / 411.4 MB, free: 23.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.301, allocations: 8.062 kB / 411.4 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.301, allocations: 0 / 411.4 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.3011, allocations: 4 kB / 411.4 MB, free: 23.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.3011, allocations: 4 kB / 411.4 MB, free: 23.17 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 5.998e-05/0.3011, allocations: 123.2 kB / 411.5 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.3012, allocations: 45.55 kB / 411.6 MB, free: 22.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.3012, allocations: 11.86 kB / 411.6 MB, free: 22.97 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.3012, allocations: 0 / 411.6 MB, free: 22.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3012, allocations: 32 / 411.6 MB, free: 22.97 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3012, allocations: 4 kB / 411.6 MB, free: 22.97 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.3014, allocations: 177.5 kB / 411.8 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3014, allocations: 0 / 411.8 MB, free: 22.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.826e-05/0.3014, allocations: 4 kB / 411.8 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3014, allocations: 0 / 411.8 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3015, allocations: 4 kB / 411.8 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3015, allocations: 0 / 411.8 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3015, allocations: 0 / 411.8 MB, free: 22.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.3018, allocations: 0.7208 MB / 412.5 MB, free: 21.96 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.3018, allocations: 89 kB / 412.6 MB, free: 21.85 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3018, allocations: 3.938 kB / 412.6 MB, free: 21.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.139e-05/0.3019, allocations: 7.984 kB / 412.6 MB, free: 21.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.3019, allocations: 11.92 kB / 412.6 MB, free: 21.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.302, allocations: 4.031 kB / 412.6 MB, free: 21.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.656e-05/0.302, allocations: 113.8 kB / 412.7 MB, free: 21.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.302, allocations: 0 / 412.7 MB, free: 21.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003017/0.3023, allocations: 7.938 kB / 412.7 MB, free: 21.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.858e-05/0.3024, allocations: 95.25 kB / 412.8 MB, free: 21.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.3026, allocations: 19.98 kB / 412.9 MB, free: 21.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3026, allocations: 128 / 412.9 MB, free: 21.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.155e-05/0.3026, allocations: 8 kB / 412.9 MB, free: 21.58 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.303, allocations: 19.95 kB / 412.9 MB, free: 21.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.3033, allocations: 284.2 kB / 413.2 MB, free: 21.24 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.3035, allocations: 0.6926 MB / 413.8 MB, free: 20.52 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.615e-05/0.3035, allocations: 3.984 kB / 413.9 MB, free: 20.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.3035, allocations: 11.44 kB / 413.9 MB, free: 20.5 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.3035, allocations: 0 / 413.9 MB, free: 20.5 MB / 298.7 MB Notification: Performance of Templates: time 0.002164/0.3057, allocations: 499.6 kB / 414.4 MB, free: 20.03 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches