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.001417/0.001417, allocations: 108.6 kB / 21.18 MB, free: 0.7617 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.001489/0.001489, allocations: 189.2 kB / 24.48 MB, free: 4.164 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.431/1.431, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.001748/0.001748, allocations: 43.92 kB / 371.7 MB, free: 9.359 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2903, allocations: 52.18 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003496/0.2938, allocations: 1.585 MB / 425.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.2949, allocations: 0.4948 MB / 425.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.295, allocations: 8 kB / 426 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.522e-05/0.2951, allocations: 3.938 kB / 426 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.2952, allocations: 11.86 kB / 426 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.2955, allocations: 51.45 kB / 426 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.2956, allocations: 47.8 kB / 426.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.2958, allocations: 15.97 kB / 426.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.974e-05/0.2958, allocations: 15.94 kB / 426.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.802e-05/0.2959, allocations: 23.86 kB / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.2959, allocations: 0 / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.241e-05/0.2959, allocations: 4 kB / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.296, allocations: 23.97 kB / 426.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.2961, allocations: 27.81 kB / 426.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.2962, allocations: 56.94 kB / 426.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2962, allocations: 0 / 426.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2962, allocations: 3.938 kB / 426.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.319e-06/0.2962, allocations: 0 / 426.2 MB, free: 12.3 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.0005285/0.2967, allocations: 298 kB / 426.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2968, allocations: 8.031 kB / 426.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.247e-05/0.2968, allocations: 12.89 kB / 426.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.2971, allocations: 142.3 kB / 426.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2971, allocations: 8.375 kB / 426.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.2971, allocations: 384 / 426.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002942/0.2974, allocations: 109.3 kB / 426.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.2974, allocations: 0 / 426.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.2974, allocations: 4 kB / 426.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2974, allocations: 0 / 426.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.074e-05/0.2975, allocations: 23.92 kB / 426.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.2979, allocations: 236.8 kB / 427.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.298, allocations: 49.16 kB / 427.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.361e-05/0.2981, allocations: 17.77 kB / 427.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.2981, allocations: 4 kB / 427.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2981, allocations: 30.56 kB / 427.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2981, allocations: 0 / 427.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002616/0.2984, allocations: 73.61 kB / 427.2 MB, free: 11.15 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.2985, allocations: 77.11 kB / 427.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.2986, allocations: 144.6 kB / 427.4 MB, free: 10.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.2986, allocations: 25.7 kB / 427.5 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.2987, allocations: 92.12 kB / 427.6 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.2987, allocations: 7.984 kB / 427.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.2988, allocations: 17.92 kB / 427.6 MB, free: 10.75 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2989, allocations: 322.8 kB / 427.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.997e-05/0.2989, allocations: 7.938 kB / 427.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.227e-05/0.299, allocations: 21.7 kB / 427.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.714e-05/0.2991, allocations: 33.64 kB / 428 MB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2991, allocations: 4.062 kB / 428 MB, free: 10.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.2992, allocations: 53.62 kB / 428 MB, free: 10.29 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2992, allocations: 4 kB / 428 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2992, allocations: 0 / 428 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2992, allocations: 0 / 428 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/0.2993, allocations: 8 kB / 428 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.2993, allocations: 7.922 kB / 428 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.471e-05/0.2993, allocations: 0 / 428 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.2994, allocations: 7.984 kB / 428 MB, free: 10.26 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 9.833e-05/0.2995, allocations: 121.8 kB / 428.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.2995, allocations: 49.58 kB / 428.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.659e-05/0.2996, allocations: 3.812 kB / 428.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2996, allocations: 0 / 428.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2996, allocations: 4 kB / 428.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2996, allocations: 0 / 428.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.2997, allocations: 144.7 kB / 428.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2997, allocations: 0 / 428.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/0.2998, allocations: 16.02 kB / 428.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2998, allocations: 0 / 428.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.2998, allocations: 0 / 428.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2998, allocations: 0 / 428.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2998, allocations: 0 / 428.4 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.3, allocations: 164.2 kB / 428.5 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.3, allocations: 19.91 kB / 428.6 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.3, allocations: 4 kB / 428.6 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.3001, allocations: 7.984 kB / 428.6 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.3001, allocations: 0 / 428.6 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.3001, allocations: 8 kB / 428.6 MB, free: 9.652 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.768e-05/0.3002, allocations: 103.3 kB / 428.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3002, allocations: 0 / 428.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002194/0.3005, allocations: 7.984 kB / 428.7 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.0001122/0.3006, allocations: 99.25 kB / 428.8 MB, free: 9.438 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001302/0.3007, allocations: 19.98 kB / 428.8 MB, free: 9.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3007, allocations: 7.875 kB / 428.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.626e-05/0.3007, allocations: 8 kB / 428.8 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.0003255/0.3011, allocations: 26.16 kB / 428.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.3014, allocations: 185.7 kB / 429 MB, free: 9.164 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/0.3018, allocations: 0.6922 MB / 429.7 MB, free: 8.445 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.3018, allocations: 7.438 kB / 429.7 MB, free: 8.438 MB / 334.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3018, allocations: 0 / 429.7 MB, free: 8.438 MB / 334.1 MB Notification: Performance of Templates: time 0.002458/0.3043, allocations: 0.7186 MB / 430.4 MB, free: 7.715 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/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: 6.76963975885883]