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.002/0.002, allocations: 99.86 kB / 20.96 MB, free: 3.457 MB / 18.57 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.001835/0.001835, allocations: 145.1 kB / 24.26 MB, free: 172 kB / 18.57 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.533/1.533, allocations: 173.4 MB / 200.8 MB, free: 9.324 MB / 186.7 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 1.653e-06/1.653e-06, allocations: 0 / 267.3 MB, free: 6.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.394e-05, allocations: 6.312 kB / 267.3 MB, free: 6.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.004226/0.00426, allocations: 1.561 MB / 268.9 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.005548, allocations: 474.5 kB / 269.3 MB, free: 4.723 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.005652, allocations: 7.938 kB / 269.3 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.088e-05/0.005723, allocations: 7.875 kB / 269.3 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001651/0.005888, allocations: 7.969 kB / 269.3 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.006206, allocations: 47.77 kB / 269.4 MB, free: 4.652 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.006351, allocations: 43.86 kB / 269.4 MB, free: 4.609 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.006475, allocations: 19.88 kB / 269.5 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.006608, allocations: 27.91 kB / 269.5 MB, free: 4.562 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.006682, allocations: 15.92 kB / 269.5 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.006712, allocations: 8 kB / 269.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.554e-05/0.006727, allocations: 0 / 269.5 MB, free: 4.539 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.00679, allocations: 15.98 kB / 269.5 MB, free: 4.523 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.263e-05/0.006833, allocations: 15.92 kB / 269.5 MB, free: 4.508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.007005, allocations: 55.73 kB / 269.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.007009, allocations: 0 / 269.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.00701, allocations: 0 / 269.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.007017, allocations: 0 / 269.6 MB, free: 4.453 MB / 250.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.0007033/0.00772, allocations: 404 kB / 270 MB, free: 4.023 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.007769, allocations: 8.922 kB / 270 MB, free: 4.016 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.007829, allocations: 8.891 kB / 270 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.008118, allocations: 148.4 kB / 270.1 MB, free: 3.836 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.008135, allocations: 8.375 kB / 270.2 MB, free: 3.828 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.008148, allocations: 4.375 kB / 270.2 MB, free: 3.824 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003772/0.008525, allocations: 112.9 kB / 270.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.008535, allocations: 192 / 270.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.008545, allocations: 4.375 kB / 270.3 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.008553, allocations: 7.938 kB / 270.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.008635, allocations: 15.94 kB / 270.3 MB, free: 3.664 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004468/0.009081, allocations: 271.5 kB / 270.6 MB, free: 3.359 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.009232, allocations: 66.11 kB / 270.6 MB, free: 3.27 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.104e-05/0.009303, allocations: 27.44 kB / 270.7 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.009326, allocations: 0 / 270.7 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.009377, allocations: 37.33 kB / 270.7 MB, free: 3.188 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.009378, allocations: 0 / 270.7 MB, free: 3.188 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.000314/0.009692, allocations: 69.66 kB / 270.8 MB, free: 3.113 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.009784, allocations: 85.05 kB / 270.8 MB, free: 3.012 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.01002, allocations: 201.9 kB / 271 MB, free: 2.797 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.01005, allocations: 25.7 kB / 271.1 MB, free: 2.766 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.01016, allocations: 134.9 kB / 271.2 MB, free: 2.629 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.469e-05/0.01017, allocations: 0 / 271.2 MB, free: 2.629 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-05/0.01023, allocations: 27.31 kB / 271.2 MB, free: 2.594 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003371/0.01057, allocations: 0.4884 MB / 271.7 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.673e-05/0.01061, allocations: 3.938 kB / 271.7 MB, free: 2.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.01064, allocations: 12.14 kB / 271.7 MB, free: 2.078 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.312e-05/0.01071, allocations: 19.75 kB / 271.7 MB, free: 2.055 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01072, allocations: 0 / 271.7 MB, free: 2.055 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001392/0.01086, allocations: 45.69 kB / 271.8 MB, free: 2.004 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.01088, allocations: 15.88 kB / 271.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01088, allocations: 0 / 271.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.0109, allocations: 0 / 271.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.01096, allocations: 0 / 271.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.01097, allocations: 0 / 271.8 MB, free: 1.988 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.025e-05/0.01101, allocations: 7.984 kB / 271.8 MB, free: 1.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.01102, allocations: 4.031 kB / 271.8 MB, free: 1.977 MB / 250.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.0001458/0.01116, allocations: 160.6 kB / 272 MB, free: 1.809 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.377e-05/0.01126, allocations: 37.59 kB / 272 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/0.0113, allocations: 19.75 kB / 272 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.0113, allocations: 0 / 272 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.01131, allocations: 4 kB / 272 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01132, allocations: 0 / 272 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.01155, allocations: 132.6 kB / 272.2 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.01156, allocations: 0 / 272.2 MB, free: 1.578 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.01161, allocations: 8.031 kB / 272.2 MB, free: 1.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.01161, allocations: 3.984 kB / 272.2 MB, free: 1.566 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.01163, allocations: 11.86 kB / 272.2 MB, free: 1.555 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.01163, allocations: 8 kB / 272.2 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01164, allocations: 0 / 272.2 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.01191, allocations: 207.6 kB / 272.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.01196, allocations: 11.95 kB / 272.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.01199, allocations: 7.922 kB / 272.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.01209, allocations: 0 / 272.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.01213, allocations: 4 kB / 272.4 MB, free: 1.297 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.01214, allocations: 4.031 kB / 272.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001435/0.01228, allocations: 150.3 kB / 272.6 MB, free: 1.148 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01228, allocations: 0 / 272.6 MB, free: 1.148 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003415/0.01262, allocations: 8 kB / 272.6 MB, free: 1.141 MB / 250.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.0001457/0.01277, allocations: 103.2 kB / 272.7 MB, free: 1.031 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.01292, allocations: 15.69 kB / 272.7 MB, free: 1.012 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01292, allocations: 3.938 kB / 272.7 MB, free: 1.008 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.102e-05/0.01298, allocations: 23.73 kB / 272.7 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.01349, allocations: 30.98 kB / 272.8 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.01395, allocations: 165 kB / 272.9 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.01407, allocations: 71.33 kB / 273 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.845e-05/0.01411, allocations: 4 kB / 273 MB, free: 0.668 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.01415, allocations: 12.5 kB / 273 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01415, allocations: 0 / 273 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of Templates: time 0.004329/0.01848, allocations: 0.5769 MB / 273.6 MB, free: 88 kB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/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.416011760011315]