Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.535e-05, allocations: 2.312 kB / 272.3 MB, free: 1.84 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002992/0.003018, allocations: 1.586 MB / 273.9 MB, free: 252 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.004112, allocations: 0.4947 MB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.354e-05/0.004195, allocations: 7.938 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.356e-05/0.004249, allocations: 7.875 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.004368, allocations: 3.984 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.004689, allocations: 63.69 kB / 274.5 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.004805, allocations: 47.84 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.489e-05/0.004889, allocations: 8.188 kB / 274.5 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.005041, allocations: 43.77 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.005097, allocations: 15.92 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.005112, allocations: 4 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.206e-05/0.005154, allocations: 8 kB / 274.6 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.978e-05/0.005204, allocations: 19.91 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.005233, allocations: 8 kB / 274.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.005397, allocations: 63.73 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.005399, allocations: 0 / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.0054, allocations: 0 / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.005404, allocations: 0 / 274.7 MB, free: 15.45 MB / 266.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.0004964/0.005901, allocations: 301.9 kB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.005936, allocations: 12.03 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.006109, allocations: 24.89 kB / 275 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.006392, allocations: 145.6 kB / 275.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.006402, allocations: 384 / 275.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.006416, allocations: 4.375 kB / 275.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.006701, allocations: 105.6 kB / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.006708, allocations: 192 / 275.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.006719, allocations: 8.125 kB / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.006723, allocations: 0 / 275.3 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.796e-05/0.006801, allocations: 15.98 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.007114, allocations: 209.4 kB / 275.5 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.007216, allocations: 45.14 kB / 275.5 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.524e-05/0.007281, allocations: 21.72 kB / 275.6 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.007301, allocations: 4 kB / 275.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.007336, allocations: 34.5 kB / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.007337, allocations: 0 / 275.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002793/0.007616, allocations: 77.56 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.007688, allocations: 81.11 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.007852, allocations: 144.9 kB / 275.9 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.007874, allocations: 25.7 kB / 275.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.1e-05/0.007945, allocations: 92.08 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.007961, allocations: 7.953 kB / 276 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.008004, allocations: 17.7 kB / 276 MB, free: 13.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.008184, allocations: 310.8 kB / 276.3 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.654e-05/0.00824, allocations: 16.23 kB / 276.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.096e-05/0.008271, allocations: 4 kB / 276.4 MB, free: 13.58 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.237e-05/0.008353, allocations: 28.78 kB / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.008355, allocations: 0 / 276.4 MB, free: 13.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001254/0.008481, allocations: 49.58 kB / 276.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.008496, allocations: 4 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.008503, allocations: 4 kB / 276.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.008519, allocations: 4.094 kB / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.704e-05/0.008586, allocations: 3.984 kB / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.008593, allocations: 4 kB / 276.4 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/0.008626, allocations: 4 kB / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-06/0.008631, allocations: 0 / 276.5 MB, free: 13.47 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 0.0001024/0.008733, allocations: 113.8 kB / 276.6 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-05/0.008816, allocations: 53.52 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.008841, allocations: 7.812 kB / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.008843, allocations: 0 / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.008846, allocations: 0 / 276.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.008851, allocations: 8.031 kB / 276.6 MB, free: 13.28 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.009018, allocations: 117.3 kB / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.00902, allocations: 0 / 276.7 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.544e-05/0.009065, allocations: 4 kB / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.009068, allocations: 0 / 276.8 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.009076, allocations: 7.938 kB / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.009078, allocations: 3.938 kB / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.009078, allocations: 0 / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.009305, allocations: 164.3 kB / 276.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.009349, allocations: 23.97 kB / 276.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.009366, allocations: 3.938 kB / 276.9 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.009435, allocations: 4 kB / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.009466, allocations: 0 / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.009469, allocations: 0 / 277 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.855e-05/0.009567, allocations: 111.2 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009567, allocations: 0 / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002197/0.009787, allocations: 4 kB / 277.1 MB, free: 12.8 MB / 266.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 0.0001187/0.009906, allocations: 95.25 kB / 277.2 MB, free: 12.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.01005, allocations: 19.98 kB / 277.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01005, allocations: 4 kB / 277.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.527e-05/0.01009, allocations: 15.92 kB / 277.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.01044, allocations: 12.3 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.01084, allocations: 164.8 kB / 277.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.593e-05/0.01094, allocations: 79.58 kB / 277.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.082e-05/0.01097, allocations: 8.219 kB / 277.5 MB, free: 12.34 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.01101, allocations: 12.5 kB / 277.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01101, allocations: 0 / 277.5 MB, free: 12.33 MB / 266.7 MB Notification: Performance of Templates: time 0.003136/0.01414, allocations: 0.5726 MB / 278 MB, free: 11.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.206238330923952]