Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.00155/0.00155, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001782/0.001782, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.518/1.518, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.91 kB / 374.5 MB, free: 9.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1023, allocations: 53.32 MB / 427.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.00302/0.1053, allocations: 1.58 MB / 429.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1064, allocations: 0.561 MB / 430 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.1065, allocations: 7.938 kB / 430 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.655e-05/0.1065, allocations: 3.938 kB / 430 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.1067, allocations: 19.84 kB / 430 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003281/0.107, allocations: 59.81 kB / 430 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.1071, allocations: 47.8 kB / 430.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.1072, allocations: 12.17 kB / 430.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.1074, allocations: 31.91 kB / 430.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.1074, allocations: 19.86 kB / 430.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.1074, allocations: 4 kB / 430.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.047e-05/0.1075, allocations: 7.938 kB / 430.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.1075, allocations: 11.94 kB / 430.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.954e-05/0.1076, allocations: 35.78 kB / 430.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.1077, allocations: 59.73 kB / 430.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1077, allocations: 0 / 430.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1077, allocations: 0 / 430.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1077, allocations: 3.938 kB / 430.3 MB, free: 2.039 MB / 350.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.000534/0.1083, allocations: 379.1 kB / 430.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1083, allocations: 8.031 kB / 430.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.1085, allocations: 24.81 kB / 430.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1088, allocations: 203 kB / 430.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.1088, allocations: 4.375 kB / 430.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.1088, allocations: 4.375 kB / 430.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.1091, allocations: 109.1 kB / 431 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1091, allocations: 3.984 kB / 431 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1091, allocations: 4 kB / 431 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1091, allocations: 0 / 431 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.374e-05/0.1092, allocations: 19.98 kB / 431 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.1095, allocations: 261.8 kB / 431.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.1096, allocations: 53.14 kB / 431.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.1097, allocations: 13.78 kB / 431.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1097, allocations: 3.984 kB / 431.3 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1097, allocations: 34.56 kB / 431.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1097, allocations: 3.938 kB / 431.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002637/0.11, allocations: 69.84 kB / 431.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.1101, allocations: 85.05 kB / 431.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1102, allocations: 141.8 kB / 431.7 MB, free: 432 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.1102, allocations: 25.7 kB / 431.7 MB, free: 400 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.1103, allocations: 88.14 kB / 431.8 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.1103, allocations: 7.953 kB / 431.8 MB, free: 300 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.1104, allocations: 17.7 kB / 431.8 MB, free: 276 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1105, allocations: 322.8 kB / 432.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/0.1106, allocations: 4 kB / 432.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.911e-05/0.1106, allocations: 21.7 kB / 432.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.611e-05/0.1107, allocations: 29.7 kB / 432.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1107, allocations: 0 / 432.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001362/0.1108, allocations: 61.64 kB / 432.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1108, allocations: 4 kB / 432.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1108, allocations: 0 / 432.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.1109, allocations: 7.984 kB / 432.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.098e-05/0.1109, allocations: 4 kB / 432.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1109, allocations: 0 / 432.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.111, allocations: 0 / 432.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.111, allocations: 4 kB / 432.3 MB, free: 15.79 MB / 366.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.914e-05/0.1111, allocations: 129.8 kB / 432.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.516e-05/0.1111, allocations: 41.66 kB / 432.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.1112, allocations: 3.875 kB / 432.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1112, allocations: 7.984 kB / 432.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1112, allocations: 0 / 432.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1112, allocations: 4 kB / 432.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.1114, allocations: 169.6 kB / 432.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1114, allocations: 7.938 kB / 432.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.498e-05/0.1114, allocations: 4 kB / 432.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1114, allocations: 0 / 432.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.1114, allocations: 4.031 kB / 432.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1114, allocations: 0 / 432.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1114, allocations: 0 / 432.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.1116, allocations: 168.2 kB / 432.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.1117, allocations: 89.05 kB / 432.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.1117, allocations: 8 kB / 432.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.691e-05/0.1118, allocations: 4.031 kB / 432.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.1118, allocations: 0 / 432.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1118, allocations: 11.92 kB / 432.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.468e-05/0.1119, allocations: 105.5 kB / 433 MB, free: 14.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1119, allocations: 0 / 433 MB, free: 14.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.1121, allocations: 4 kB / 433 MB, free: 14.94 MB / 366.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.0001024/0.1122, allocations: 99.23 kB / 433.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.1124, allocations: 27.92 kB / 433.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1124, allocations: 0 / 433.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.836e-05/0.1124, allocations: 8 kB / 433.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1128, allocations: 21.78 kB / 433.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.1132, allocations: 197 kB / 433.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.1135, allocations: 0.6965 MB / 434 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.1135, allocations: 7.438 kB / 434.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1135, allocations: 0 / 434.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Templates: time 0.002347/0.1159, allocations: 0.7507 MB / 434.8 MB, free: 13.07 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.811211060034111]