Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 69.95 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 152 kB / 24.49 MB, free: 3.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 51.34 kB / 319.4 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0906/0.0921, allocations: 52.16 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.0029/0.095, allocations: 1.564 MB / 373.1 MB, free: 5.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008232/0.09582, allocations: 442.9 kB / 373.6 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.0959, allocations: 4 kB / 373.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.405e-05/0.09595, allocations: 11.86 kB / 373.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001158/0.09607, allocations: 3.938 kB / 373.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.09631, allocations: 51.83 kB / 373.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.09641, allocations: 47.84 kB / 373.7 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.803e-05/0.0965, allocations: 4 kB / 373.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.679e-05/0.09657, allocations: 31.84 kB / 373.7 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.595e-05/0.09663, allocations: 19.86 kB / 373.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.09665, allocations: 0 / 373.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.398e-05/0.09666, allocations: 4 kB / 373.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.683e-05/0.09671, allocations: 11.94 kB / 373.7 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.09674, allocations: 23.86 kB / 373.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001216/0.09686, allocations: 51.69 kB / 373.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.09687, allocations: 0 / 373.8 MB, free: 5.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.09687, allocations: 4 kB / 373.8 MB, free: 5.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.09688, allocations: 3.984 kB / 373.8 MB, free: 5.07 MB / 334.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.0004623/0.09734, allocations: 306 kB / 374.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.09737, allocations: 8.922 kB / 374.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.724e-05/0.09741, allocations: 8.891 kB / 374.1 MB, free: 4.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.09764, allocations: 142.3 kB / 374.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.09765, allocations: 8.375 kB / 374.3 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.09766, allocations: 4.375 kB / 374.3 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.09793, allocations: 109.3 kB / 374.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.09793, allocations: 0 / 374.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.09794, allocations: 0 / 374.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.09795, allocations: 3.984 kB / 374.4 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.379e-05/0.09804, allocations: 23.92 kB / 374.4 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.09833, allocations: 205.4 kB / 374.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.557e-05/0.09842, allocations: 53.02 kB / 374.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.59e-05/0.09848, allocations: 29.77 kB / 374.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.0985, allocations: 0 / 374.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.09853, allocations: 34.56 kB / 374.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.09853, allocations: 0 / 374.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002494/0.09878, allocations: 65.61 kB / 374.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.888e-05/0.09885, allocations: 81.11 kB / 374.9 MB, free: 3.848 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.09899, allocations: 141.4 kB / 375 MB, free: 3.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.315e-05/0.09901, allocations: 25.95 kB / 375 MB, free: 3.668 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.09907, allocations: 96.12 kB / 375.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/0.09908, allocations: 0 / 375.1 MB, free: 3.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.68e-05/0.09912, allocations: 25.61 kB / 375.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.09926, allocations: 310.8 kB / 375.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.09931, allocations: 15.98 kB / 375.5 MB, free: 3.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.36e-05/0.09936, allocations: 13.72 kB / 375.5 MB, free: 3.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.464e-05/0.09944, allocations: 33.64 kB / 375.5 MB, free: 3.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.09944, allocations: 4.062 kB / 375.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001318/0.09958, allocations: 61.55 kB / 375.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.09959, allocations: 10.81 kB / 375.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.09959, allocations: 0 / 375.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.0996, allocations: 0 / 375.6 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.83e-05/0.09967, allocations: 4 kB / 375.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.09968, allocations: 0 / 375.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.09972, allocations: 7.984 kB / 375.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.09973, allocations: 0 / 375.6 MB, free: 3.062 MB / 334.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 9.683e-05/0.09982, allocations: 121.8 kB / 375.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-05/0.09989, allocations: 41.64 kB / 375.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.09992, allocations: 15.8 kB / 375.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.09992, allocations: 0 / 375.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.09992, allocations: 0 / 375.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.09993, allocations: 0 / 375.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.1001, allocations: 117.2 kB / 375.9 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1001, allocations: 3.938 kB / 375.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.1001, allocations: 7.984 kB / 375.9 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-06/0.1001, allocations: 4.031 kB / 375.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.1002, allocations: 4 kB / 375.9 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1002, allocations: 7.938 kB / 375.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1002, allocations: 0 / 375.9 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.1003, allocations: 156.4 kB / 376.1 MB, free: 2.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.617e-05/0.1004, allocations: 15.89 kB / 376.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.1004, allocations: 0 / 376.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.167e-05/0.1005, allocations: 7.984 kB / 376.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.1005, allocations: 0 / 376.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1005, allocations: 4 kB / 376.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.314e-05/0.1006, allocations: 115.2 kB / 376.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1006, allocations: 0 / 376.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002295/0.1008, allocations: 4 kB / 376.2 MB, free: 2.383 MB / 334.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 8.659e-05/0.1009, allocations: 95.25 kB / 376.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.101, allocations: 19.98 kB / 376.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.101, allocations: 0 / 376.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.705e-05/0.1011, allocations: 15.98 kB / 376.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.1014, allocations: 35.3 kB / 376.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.1018, allocations: 163.5 kB / 376.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.867e-05/0.1018, allocations: 79.27 kB / 376.6 MB, free: 1.926 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.001e-05/0.1019, allocations: 4 kB / 376.6 MB, free: 1.922 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.1019, allocations: 8.5 kB / 376.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1019, allocations: 0 / 376.6 MB, free: 1.91 MB / 334.1 MB Notification: Performance of Templates: time 0.003042/0.1049, allocations: 0.5729 MB / 377.2 MB, free: 1.355 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.406823660014197]