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.0009938/0.0009938, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001144/0.001144, allocations: 141 kB / 24.89 MB, free: 8.789 MB / 18.57 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 0.9229/0.9229, allocations: 173.4 MB / 201.5 MB, free: 8.773 MB / 186.7 MB " [Timeout remaining time 179] 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 1.653e-06/1.653e-06, allocations: 0 / 268.5 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.593e-05, allocations: 2.312 kB / 268.5 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.00211/0.002125, allocations: 1.6 MB / 270.1 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007092/0.002835, allocations: 498.4 kB / 270.5 MB, free: 3.953 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.271e-05/0.002917, allocations: 3.938 kB / 270.5 MB, free: 3.949 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.079e-05/0.002968, allocations: 11.92 kB / 270.6 MB, free: 3.938 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.00311, allocations: 15.88 kB / 270.6 MB, free: 3.922 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.003335, allocations: 43.77 kB / 270.6 MB, free: 3.879 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.269e-05/0.003427, allocations: 55.77 kB / 270.7 MB, free: 3.824 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.67e-05/0.003504, allocations: 8 kB / 270.7 MB, free: 3.816 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.843e-05/0.003582, allocations: 35.89 kB / 270.7 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.003629, allocations: 7.984 kB / 270.7 MB, free: 3.773 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.003649, allocations: 4 kB / 270.7 MB, free: 3.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.003659, allocations: 4 kB / 270.7 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.003701, allocations: 11.94 kB / 270.7 MB, free: 3.754 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.176e-05/0.003723, allocations: 15.92 kB / 270.8 MB, free: 3.738 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.519e-05/0.003818, allocations: 43.83 kB / 270.8 MB, free: 3.695 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.263e-06/0.00382, allocations: 0 / 270.8 MB, free: 3.695 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.003821, allocations: 0 / 270.8 MB, free: 3.695 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.597e-06/0.003825, allocations: 3.938 kB / 270.8 MB, free: 3.691 MB / 250.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.0002905/0.004115, allocations: 276.6 kB / 271.1 MB, free: 3.398 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.004147, allocations: 8.922 kB / 271.1 MB, free: 3.391 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.004174, allocations: 8.938 kB / 271.1 MB, free: 3.383 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.004311, allocations: 137.6 kB / 271.2 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.004319, allocations: 8.312 kB / 271.2 MB, free: 3.215 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.004328, allocations: 4.375 kB / 271.2 MB, free: 3.211 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.00448, allocations: 110.3 kB / 271.3 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.004487, allocations: 192 / 271.3 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.004492, allocations: 384 / 271.3 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.0045, allocations: 7.938 kB / 271.4 MB, free: 3.074 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.3e-05/0.004513, allocations: 3.938 kB / 271.4 MB, free: 3.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000153/0.004666, allocations: 153.1 kB / 271.5 MB, free: 2.902 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.3e-05/0.004709, allocations: 45.12 kB / 271.6 MB, free: 2.84 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.781e-05/0.004727, allocations: 21.83 kB / 271.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.004738, allocations: 0 / 271.6 MB, free: 2.812 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.004756, allocations: 30.56 kB / 271.6 MB, free: 2.773 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.004757, allocations: 4 kB / 271.6 MB, free: 2.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001015/0.004859, allocations: 45.56 kB / 271.7 MB, free: 2.719 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.004903, allocations: 81.11 kB / 271.7 MB, free: 2.621 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.196e-05/0.004985, allocations: 130.7 kB / 271.9 MB, free: 2.48 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.004995, allocations: 25.7 kB / 271.9 MB, free: 2.449 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.114e-05/0.005026, allocations: 96.36 kB / 272 MB, free: 2.352 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.207e-05/0.005038, allocations: 3.938 kB / 272 MB, free: 2.348 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.005062, allocations: 17.67 kB / 272 MB, free: 2.324 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.299e-05/0.005135, allocations: 314.8 kB / 272.3 MB, free: 2.008 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-06/0.005142, allocations: 3.984 kB / 272.3 MB, free: 2.004 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.005148, allocations: 0 / 272.3 MB, free: 2.004 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.123e-05/0.005169, allocations: 12.86 kB / 272.3 MB, free: 1.988 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.00517, allocations: 0 / 272.3 MB, free: 1.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.765e-05/0.005208, allocations: 33.7 kB / 272.4 MB, free: 1.949 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.00522, allocations: 8.094 kB / 272.4 MB, free: 1.941 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.005226, allocations: 7.984 kB / 272.4 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.005237, allocations: 3.938 kB / 272.4 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.424e-05/0.005281, allocations: 3.938 kB / 272.4 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.005284, allocations: 0 / 272.4 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/0.005298, allocations: 4 kB / 272.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-06/0.005301, allocations: 0 / 272.4 MB, free: 1.922 MB / 250.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 5.365e-05/0.005355, allocations: 112.7 kB / 272.5 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.005384, allocations: 37.69 kB / 272.5 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.398e-05/0.005408, allocations: 11.75 kB / 272.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.005411, allocations: 11.97 kB / 272.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.005413, allocations: 0 / 272.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.005417, allocations: 0 / 272.6 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.051e-05/0.005497, allocations: 73.88 kB / 272.6 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.005498, allocations: 0 / 272.6 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.459e-05/0.005513, allocations: 7.984 kB / 272.6 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.005514, allocations: 0 / 272.6 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.927e-06/0.005518, allocations: 0 / 272.6 MB, free: 1.637 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.005519, allocations: 4 kB / 272.6 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.005521, allocations: 3.938 kB / 272.6 MB, free: 1.629 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.777e-05/0.005589, allocations: 140.3 kB / 272.8 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.005612, allocations: 11.95 kB / 272.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-06/0.005621, allocations: 0 / 272.8 MB, free: 1.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.799e-05/0.005649, allocations: 4 kB / 272.8 MB, free: 1.457 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.005674, allocations: 7.922 kB / 272.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.005676, allocations: 4 kB / 272.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.286e-05/0.005699, allocations: 27.75 kB / 272.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005699, allocations: 0 / 272.8 MB, free: 1.418 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000109/0.005808, allocations: 4 kB / 272.8 MB, free: 1.414 MB / 250.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.836e-05/0.005876, allocations: 76.45 kB / 272.9 MB, free: 1.332 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.19e-05/0.005928, allocations: 20.78 kB / 272.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.00593, allocations: 0 / 272.9 MB, free: 1.309 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.005942, allocations: 8.859 kB / 272.9 MB, free: 1.297 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.00611, allocations: 12.31 kB / 273 MB, free: 1.281 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.00651, allocations: 167.6 kB / 273.1 MB, free: 1.09 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.2e-05/0.006552, allocations: 59.56 kB / 273.2 MB, free: 1.012 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.905e-05/0.006571, allocations: 4 kB / 273.2 MB, free: 1.008 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/0.006623, allocations: 59.36 kB / 273.2 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of SimCode: time 9.72e-07/0.006624, allocations: 0 / 273.2 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of Templates: time 0.002091/0.008715, allocations: 0.6068 MB / 273.8 MB, free: 364 kB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 240] 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","",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.5065735979005694]