Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001563/0.001563, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001807/0.001807, allocations: 181.5 kB / 23.71 MB, free: 4.695 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.427/1.427, allocations: 225.6 MB / 252.5 MB, free: 13 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 51.91 kB / 370.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.296, allocations: 52.17 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003166/0.2992, allocations: 1.592 MB / 424.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009638/0.3002, allocations: 0.4987 MB / 425.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.614e-05/0.3003, allocations: 4 kB / 425.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.065e-05/0.3003, allocations: 3.938 kB / 425.2 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001352/0.3004, allocations: 7.875 kB / 425.2 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.3007, allocations: 55.81 kB / 425.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.3008, allocations: 47.78 kB / 425.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.301, allocations: 8 kB / 425.3 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.592e-05/0.301, allocations: 23.92 kB / 425.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.3011, allocations: 23.84 kB / 425.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.3011, allocations: 4 kB / 425.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.3011, allocations: 4 kB / 425.4 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.4e-05/0.3012, allocations: 19.98 kB / 425.4 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.3012, allocations: 23.81 kB / 425.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.3014, allocations: 59.33 kB / 425.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3014, allocations: 0 / 425.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3014, allocations: 4 kB / 425.5 MB, free: 12.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.3014, allocations: 0 / 425.5 MB, free: 12.29 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.0005516/0.3019, allocations: 299.6 kB / 425.8 MB, free: 11.97 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.302, allocations: 8.031 kB / 425.8 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.302, allocations: 12.89 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.3023, allocations: 145.4 kB / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.3023, allocations: 4.375 kB / 425.9 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.3023, allocations: 4.375 kB / 425.9 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003191/0.3027, allocations: 113.3 kB / 426 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.3027, allocations: 0 / 426 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3027, allocations: 0 / 426 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.3027, allocations: 0 / 426 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.024e-05/0.3028, allocations: 23.92 kB / 426.1 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.3031, allocations: 232.8 kB / 426.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.3032, allocations: 53.08 kB / 426.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.3033, allocations: 17.78 kB / 426.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3033, allocations: 3.984 kB / 426.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.3033, allocations: 34.56 kB / 426.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3033, allocations: 0 / 426.4 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.000278/0.3036, allocations: 73.61 kB / 426.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.3037, allocations: 77.11 kB / 426.6 MB, free: 11.04 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.3038, allocations: 138.1 kB / 426.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.3039, allocations: 29.64 kB / 426.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.869e-05/0.3039, allocations: 92.12 kB / 426.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.3039, allocations: 4 kB / 426.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.304, allocations: 21.92 kB / 426.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3041, allocations: 314.8 kB / 427.1 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.642e-05/0.3042, allocations: 11.98 kB / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.49e-05/0.3042, allocations: 13.72 kB / 427.2 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.268e-05/0.3043, allocations: 37.7 kB / 427.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3043, allocations: 0 / 427.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00013/0.3044, allocations: 57.61 kB / 427.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3045, allocations: 4 kB / 427.3 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3045, allocations: 4 kB / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.3045, allocations: 0 / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.529e-05/0.3046, allocations: 4 kB / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/0.3046, allocations: 3.938 kB / 427.3 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.3046, allocations: 7.984 kB / 427.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.3046, allocations: 4.062 kB / 427.3 MB, free: 10.25 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.000102/0.3047, allocations: 121.7 kB / 427.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.636e-05/0.3048, allocations: 45.59 kB / 427.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.3048, allocations: 11.8 kB / 427.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3048, allocations: 0 / 427.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3048, allocations: 0 / 427.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3048, allocations: 0 / 427.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.305, allocations: 144.7 kB / 427.6 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.3051, allocations: 0 / 427.6 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.616e-05/0.3051, allocations: 8.031 kB / 427.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3051, allocations: 0 / 427.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.3051, allocations: 0 / 427.6 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.3051, allocations: 7.984 kB / 427.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3051, allocations: 0 / 427.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.3053, allocations: 164.2 kB / 427.8 MB, free: 9.684 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.3054, allocations: 19.88 kB / 427.8 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.3054, allocations: 4 kB / 427.8 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.3054, allocations: 0 / 427.8 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/0.3055, allocations: 7.938 kB / 427.8 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.3055, allocations: 3.984 kB / 427.8 MB, free: 9.648 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.86e-05/0.3056, allocations: 106.2 kB / 427.9 MB, free: 9.547 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3056, allocations: 0 / 427.9 MB, free: 9.547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.3058, allocations: 4 kB / 427.9 MB, free: 9.543 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.0001105/0.3059, allocations: 99.28 kB / 428 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001546/0.3061, allocations: 27.91 kB / 428 MB, free: 9.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3061, allocations: 4 kB / 428 MB, free: 9.406 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.3061, allocations: 4 kB / 428 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.3065, allocations: 27.94 kB / 428.1 MB, free: 9.375 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.3069, allocations: 160 kB / 428.2 MB, free: 9.188 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.3072, allocations: 0.6922 MB / 428.9 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.894e-05/0.3073, allocations: 3.938 kB / 428.9 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.761e-05/0.3073, allocations: 11.44 kB / 428.9 MB, free: 8.453 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3073, allocations: 0 / 428.9 MB, free: 8.453 MB / 334.1 MB Notification: Performance of Templates: time 0.003208/0.3105, allocations: 0.5328 MB / 429.5 MB, free: 7.926 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.574013384990394]