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.001846/0.001846, allocations: 107.5 kB / 20.44 MB, free: 1.355 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.002196/0.002196, allocations: 193.2 kB / 23.71 MB, free: 4.555 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.465/1.465, allocations: 225.7 MB / 252.5 MB, free: 12.87 MB / 206.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.001966/0.001966, allocations: 47.92 kB / 370.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2898, allocations: 52.18 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002899/0.2927, allocations: 1.577 MB / 424.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008653/0.2936, allocations: 431 kB / 425 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.75e-05/0.2937, allocations: 7.938 kB / 425.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.688e-05/0.2937, allocations: 7.922 kB / 425.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001362/0.2938, allocations: 15.88 kB / 425.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.2941, allocations: 43.89 kB / 425.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2942, allocations: 39.86 kB / 425.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.2943, allocations: 15.97 kB / 425.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.925e-05/0.2944, allocations: 23.86 kB / 425.2 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.63e-05/0.2945, allocations: 19.92 kB / 425.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.2945, allocations: 4 kB / 425.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.2945, allocations: 0 / 425.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.2945, allocations: 11.94 kB / 425.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.2946, allocations: 27.84 kB / 425.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.2947, allocations: 57.89 kB / 425.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2947, allocations: 4 kB / 425.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2947, allocations: 0 / 425.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.2947, allocations: 0 / 425.3 MB, free: 12.21 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.0004911/0.2952, allocations: 298 kB / 425.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2953, allocations: 12.03 kB / 425.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.2953, allocations: 8.891 kB / 425.6 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.2955, allocations: 142.3 kB / 425.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2955, allocations: 384 / 425.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.2956, allocations: 12.38 kB / 425.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.2958, allocations: 105.3 kB / 425.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2958, allocations: 0 / 425.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.2958, allocations: 0 / 425.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2959, allocations: 0 / 425.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.2959, allocations: 27.86 kB / 425.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.2962, allocations: 209.4 kB / 426.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.2963, allocations: 57.08 kB / 426.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.507e-05/0.2964, allocations: 17.78 kB / 426.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.2964, allocations: 4 kB / 426.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.2965, allocations: 34.55 kB / 426.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2965, allocations: 0 / 426.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.00025/0.2967, allocations: 61.62 kB / 426.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.2968, allocations: 81.09 kB / 426.4 MB, free: 11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.2969, allocations: 152.7 kB / 426.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.2969, allocations: 29.7 kB / 426.5 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.297, allocations: 84.14 kB / 426.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.297, allocations: 3.984 kB / 426.6 MB, free: 10.72 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.297, allocations: 21.67 kB / 426.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2972, allocations: 314.8 kB / 427 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.189e-05/0.2972, allocations: 7.984 kB / 427 MB, free: 10.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.135e-05/0.2973, allocations: 17.72 kB / 427 MB, free: 10.34 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.153e-05/0.2973, allocations: 33.77 kB / 427 MB, free: 10.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2973, allocations: 0 / 427 MB, free: 10.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001264/0.2975, allocations: 61.55 kB / 427.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2975, allocations: 10.19 kB / 427.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2975, allocations: 0 / 427.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2975, allocations: 0 / 427.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.2976, allocations: 4 kB / 427.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.2976, allocations: 0 / 427.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.605e-05/0.2976, allocations: 8.062 kB / 427.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.2976, allocations: 11.92 kB / 427.1 MB, free: 10.21 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 8.846e-05/0.2977, allocations: 121.8 kB / 427.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.2978, allocations: 37.59 kB / 427.3 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.414e-05/0.2978, allocations: 15.8 kB / 427.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2978, allocations: 0 / 427.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2978, allocations: 0 / 427.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2978, allocations: 4 kB / 427.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.298, allocations: 109.3 kB / 427.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.298, allocations: 3.938 kB / 427.4 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.298, allocations: 12.02 kB / 427.4 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.298, allocations: 4 kB / 427.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.298, allocations: 0 / 427.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.298, allocations: 0 / 427.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.298, allocations: 0 / 427.4 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.2982, allocations: 164.3 kB / 427.6 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.2982, allocations: 23.81 kB / 427.6 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.803e-05/0.2983, allocations: 7.938 kB / 427.6 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.815e-05/0.2983, allocations: 3.984 kB / 427.6 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.2984, allocations: 8.031 kB / 427.6 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.2984, allocations: 0 / 427.6 MB, free: 9.637 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.923e-05/0.2984, allocations: 109.8 kB / 427.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2984, allocations: 0 / 427.7 MB, free: 9.531 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.2987, allocations: 4 kB / 427.7 MB, free: 9.527 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.393e-05/0.2987, allocations: 95.25 kB / 427.8 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.2989, allocations: 23.92 kB / 427.8 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2989, allocations: 0 / 427.8 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.677e-05/0.2989, allocations: 12.12 kB / 427.9 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.2992, allocations: 19.95 kB / 427.9 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.2996, allocations: 159.7 kB / 428 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.448e-05/0.2997, allocations: 83.06 kB / 428.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.2997, allocations: 4 kB / 428.1 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.2997, allocations: 7.438 kB / 428.1 MB, free: 9.07 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2997, allocations: 4.156 kB / 428.1 MB, free: 9.066 MB / 334.1 MB Notification: Performance of Templates: time 0.003049/0.3028, allocations: 0.5932 MB / 428.7 MB, free: 8.492 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 -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/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.54642466455698]