Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009374/0.0009374, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 165.8 kB / 24.99 MB, free: 8.797 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9785/0.9785, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 273 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.21e-05, allocations: 6.312 kB / 273 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002827/0.002849, allocations: 1.607 MB / 274.6 MB, free: 252 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.003961, allocations: 0.553 MB / 275.2 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.626e-05/0.004058, allocations: 7.938 kB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.613e-05/0.004114, allocations: 3.938 kB / 275.2 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.004264, allocations: 11.86 kB / 275.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.004624, allocations: 59.69 kB / 275.3 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.004776, allocations: 51.84 kB / 275.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.004898, allocations: 8.172 kB / 275.3 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.005062, allocations: 35.91 kB / 275.4 MB, free: 15.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.005123, allocations: 23.91 kB / 275.4 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.005146, allocations: 7.938 kB / 275.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.443e-05/0.005191, allocations: 4 kB / 275.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.005238, allocations: 11.98 kB / 275.4 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.005267, allocations: 15.94 kB / 275.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.005415, allocations: 43.77 kB / 275.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.005417, allocations: 0 / 275.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.005418, allocations: 0 / 275.5 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005423, allocations: 3.938 kB / 275.5 MB, free: 15.4 MB / 266.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.0004717/0.005894, allocations: 408.3 kB / 275.9 MB, free: 14.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.005935, allocations: 8.031 kB / 275.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.00609, allocations: 28.88 kB / 275.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.006294, allocations: 148.4 kB / 276.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.006306, allocations: 4.375 kB / 276.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.006316, allocations: 384 / 276.1 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.006589, allocations: 117.6 kB / 276.2 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.006599, allocations: 4.188 kB / 276.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.006609, allocations: 12.11 kB / 276.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.006617, allocations: 0 / 276.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.654e-05/0.006644, allocations: 4 kB / 276.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.00695, allocations: 267.5 kB / 276.5 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.537e-05/0.007015, allocations: 54.19 kB / 276.5 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.007045, allocations: 15.38 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.007069, allocations: 4.062 kB / 276.5 MB, free: 14.19 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.007102, allocations: 41.27 kB / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.007103, allocations: 0 / 276.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001954/0.007299, allocations: 57.58 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.00736, allocations: 77.11 kB / 276.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.007514, allocations: 205.1 kB / 276.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.007526, allocations: 25.7 kB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.007585, allocations: 138.8 kB / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.0076, allocations: 0 / 277.1 MB, free: 13.6 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.909e-05/0.007629, allocations: 23.38 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.007744, allocations: 496.1 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.007754, allocations: 0 / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.105e-05/0.007765, allocations: 8.25 kB / 277.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.302e-05/0.007788, allocations: 11.69 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.00779, allocations: 0 / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.204e-05/0.007842, allocations: 53.52 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.007852, allocations: 4 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.007857, allocations: 0 / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.007869, allocations: 4 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.007923, allocations: 0 / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.007928, allocations: 0 / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.007944, allocations: 4 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.069e-06/0.007949, allocations: 4.094 kB / 277.7 MB, free: 12.97 MB / 266.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 6.017e-05/0.008009, allocations: 152.6 kB / 277.8 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.008044, allocations: 49.52 kB / 277.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.469e-05/0.008068, allocations: 11.81 kB / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.00807, allocations: 0 / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.008073, allocations: 0 / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.008075, allocations: 0 / 277.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.666e-05/0.008172, allocations: 132.6 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.008173, allocations: 0 / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.701e-05/0.00819, allocations: 4 kB / 278 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.008191, allocations: 4.031 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.008198, allocations: 3.938 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.008199, allocations: 0 / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0082, allocations: 4 kB / 278 MB, free: 12.57 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.458e-05/0.008295, allocations: 199.6 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.602e-05/0.008321, allocations: 23.8 kB / 278.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.008334, allocations: 11.92 kB / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.942e-05/0.008364, allocations: 0 / 278.2 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.653e-05/0.00839, allocations: 4 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.008394, allocations: 7.938 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.722e-05/0.008451, allocations: 147.2 kB / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008451, allocations: 0 / 278.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001325/0.008584, allocations: 4 kB / 278.4 MB, free: 12.15 MB / 266.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 6.963e-05/0.008653, allocations: 98.91 kB / 278.5 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.844e-05/0.008722, allocations: 15.69 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008723, allocations: 0 / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.515e-05/0.008738, allocations: 19.61 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.008973, allocations: 19.45 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004157/0.009389, allocations: 169.3 kB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/0.009428, allocations: 59.34 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.423e-05/0.009453, allocations: 8 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.009479, allocations: 8.5 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.009479, allocations: 0 / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of Templates: time 0.002064/0.01154, allocations: 0.5796 MB / 279.4 MB, free: 11.13 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.879827227909118]