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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001628/0.001628, allocations: 105.4 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002032/0.002032, allocations: 213.9 kB / 22.99 MB, free: 5.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 230.2 MB / 256.2 MB, free: 8.535 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,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=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 63.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2894, allocations: 53.32 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002933/0.2923, allocations: 1.586 MB / 431.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2933, allocations: 0.5376 MB / 431.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.374e-05/0.2934, allocations: 3.938 kB / 431.9 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.483e-05/0.2935, allocations: 7.922 kB / 431.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.2936, allocations: 15.88 kB / 431.9 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.2939, allocations: 63.8 kB / 432 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.294, allocations: 39.91 kB / 432 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.768e-05/0.2941, allocations: 16.17 kB / 432 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.2942, allocations: 31.8 kB / 432.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.554e-05/0.2943, allocations: 19.92 kB / 432.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.2943, allocations: 3.984 kB / 432.1 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.914e-05/0.2944, allocations: 8 kB / 432.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.002e-05/0.2944, allocations: 15.92 kB / 432.1 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.2944, allocations: 23.81 kB / 432.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.2946, allocations: 64.94 kB / 432.2 MB, free: 5.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2946, allocations: 4 kB / 432.2 MB, free: 5.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2946, allocations: 4 kB / 432.2 MB, free: 5.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.2946, allocations: 0 / 432.2 MB, free: 5.086 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.0005114/0.2951, allocations: 375.1 kB / 432.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2952, allocations: 15.97 kB / 432.6 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.2953, allocations: 20.81 kB / 432.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.2956, allocations: 204.2 kB / 432.8 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2956, allocations: 4.375 kB / 432.8 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.2956, allocations: 4.375 kB / 432.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.2958, allocations: 113.1 kB / 432.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.2959, allocations: 4 kB / 432.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.2959, allocations: 4 kB / 432.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2959, allocations: 0 / 432.9 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.96e-05/0.296, allocations: 15.92 kB / 433 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.2963, allocations: 265.7 kB / 433.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.254e-05/0.2964, allocations: 53.14 kB / 433.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.2964, allocations: 13.78 kB / 433.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.2965, allocations: 4 kB / 433.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.2965, allocations: 34.56 kB / 433.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2965, allocations: 0 / 433.3 MB, free: 3.789 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002527/0.2967, allocations: 73.78 kB / 433.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.2968, allocations: 77.11 kB / 433.5 MB, free: 3.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.297, allocations: 144.6 kB / 433.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.297, allocations: 29.7 kB / 433.6 MB, free: 3.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/0.297, allocations: 88.09 kB / 433.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.297, allocations: 3.984 kB / 433.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.2971, allocations: 13.72 kB / 433.7 MB, free: 3.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.2972, allocations: 322.8 kB / 434.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.984e-05/0.2973, allocations: 12.02 kB / 434.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.095e-05/0.2973, allocations: 17.72 kB / 434.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.771e-05/0.2974, allocations: 33.64 kB / 434.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2974, allocations: 0 / 434.1 MB, free: 2.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001213/0.2975, allocations: 65.62 kB / 434.2 MB, free: 2.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2975, allocations: 8 kB / 434.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2975, allocations: 3.938 kB / 434.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2975, allocations: 0 / 434.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/0.2976, allocations: 4 kB / 434.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2976, allocations: 0 / 434.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.533e-05/0.2977, allocations: 4 kB / 434.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.2977, allocations: 3.984 kB / 434.2 MB, free: 2.828 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 0.0001002/0.2978, allocations: 121.8 kB / 434.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.2978, allocations: 37.66 kB / 434.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.107e-05/0.2979, allocations: 19.81 kB / 434.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2979, allocations: 0 / 434.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2979, allocations: 0 / 434.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2979, allocations: 3.938 kB / 434.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.2981, allocations: 169.6 kB / 434.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.2981, allocations: 0 / 434.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.2981, allocations: 11.94 kB / 434.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2981, allocations: 0 / 434.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2981, allocations: 12.02 kB / 434.6 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.2981, allocations: 4 kB / 434.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2981, allocations: 0 / 434.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.2983, allocations: 156.3 kB / 434.7 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.2984, allocations: 93.05 kB / 434.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.2984, allocations: 0 / 434.8 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.2985, allocations: 8.016 kB / 434.8 MB, free: 2.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.2985, allocations: 4 kB / 434.8 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.2985, allocations: 3.938 kB / 434.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.149e-05/0.2986, allocations: 111.2 kB / 434.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2986, allocations: 0 / 434.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000217/0.2988, allocations: 4 kB / 434.9 MB, free: 1.965 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 0.0001064/0.2989, allocations: 95.25 kB / 435 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.2991, allocations: 23.98 kB / 435.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2991, allocations: 0 / 435.1 MB, free: 1.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.022e-05/0.2991, allocations: 11.94 kB / 435.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.2994, allocations: 22.36 kB / 435.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.2998, allocations: 163.5 kB / 435.3 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.3001, allocations: 0.6926 MB / 436 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.112e-05/0.3002, allocations: 3.984 kB / 436 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.3002, allocations: 15.38 kB / 436 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3002, allocations: 0 / 436 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of Templates: time 0.003001/0.3032, allocations: 0.5345 MB / 436.5 MB, free: 368 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.410754046402872]