Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001443/0.001443, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009766/0.0009766, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.9134/0.9134, allocations: 173.3 MB / 201.1 MB, free: 9.332 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.857e-05, allocations: 10.19 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002681/0.00271, allocations: 1.584 MB / 269.6 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008085/0.003518, allocations: 478.6 kB / 270 MB, free: 4.367 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.539e-05/0.003614, allocations: 7.938 kB / 270 MB, free: 4.359 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.819e-05/0.003672, allocations: 3.938 kB / 270 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.003827, allocations: 11.86 kB / 270.1 MB, free: 4.344 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.004074, allocations: 47.83 kB / 270.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.004181, allocations: 43.8 kB / 270.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.004291, allocations: 15.97 kB / 270.2 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.634e-05/0.004378, allocations: 23.92 kB / 270.2 MB, free: 4.215 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.004431, allocations: 15.98 kB / 270.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.004452, allocations: 4 kB / 270.2 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.223e-05/0.004464, allocations: 4 kB / 270.2 MB, free: 4.191 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.004529, allocations: 19.91 kB / 270.2 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.004557, allocations: 15.88 kB / 270.2 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.004689, allocations: 35.83 kB / 270.3 MB, free: 4.121 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.004691, allocations: 0 / 270.3 MB, free: 4.121 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.004692, allocations: 0 / 270.3 MB, free: 4.121 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.004699, allocations: 4 kB / 270.3 MB, free: 4.117 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.0004876/0.005187, allocations: 396.4 kB / 270.7 MB, free: 3.695 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.005234, allocations: 12.92 kB / 270.7 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.394e-05/0.005278, allocations: 8.891 kB / 270.7 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.00547, allocations: 148.4 kB / 270.8 MB, free: 3.504 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.005482, allocations: 8.312 kB / 270.8 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.005497, allocations: 8.312 kB / 270.9 MB, free: 3.488 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.005784, allocations: 125.6 kB / 271 MB, free: 3.34 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.005796, allocations: 4.188 kB / 271 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.005806, allocations: 384 / 271 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.005818, allocations: 3.938 kB / 271 MB, free: 3.332 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.788e-05/0.005846, allocations: 4 kB / 271 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.006187, allocations: 263.5 kB / 271.2 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.155e-05/0.006259, allocations: 62.17 kB / 271.3 MB, free: 2.945 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/0.006287, allocations: 15.38 kB / 271.3 MB, free: 2.922 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.006311, allocations: 4.062 kB / 271.3 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.006341, allocations: 45.25 kB / 271.4 MB, free: 2.863 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.006342, allocations: 0 / 271.4 MB, free: 2.863 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001869/0.006529, allocations: 53.59 kB / 271.4 MB, free: 2.805 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.006586, allocations: 77.11 kB / 271.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.006733, allocations: 197.9 kB / 271.7 MB, free: 2.5 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.006748, allocations: 25.7 kB / 271.7 MB, free: 2.469 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.933e-05/0.006817, allocations: 134.9 kB / 271.8 MB, free: 2.332 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.006833, allocations: 0 / 271.8 MB, free: 2.332 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.006869, allocations: 23.33 kB / 271.9 MB, free: 2.301 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.007032, allocations: 0.4884 MB / 272.4 MB, free: 1.801 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.007045, allocations: 0 / 272.4 MB, free: 1.801 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.007055, allocations: 4.25 kB / 272.4 MB, free: 1.797 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.007089, allocations: 15.69 kB / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.007093, allocations: 0 / 272.4 MB, free: 1.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.571e-05/0.007169, allocations: 41.62 kB / 272.4 MB, free: 1.73 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.007189, allocations: 10.75 kB / 272.4 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.007194, allocations: 0 / 272.4 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.007217, allocations: 0 / 272.4 MB, free: 1.723 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.647e-05/0.007293, allocations: 4 kB / 272.4 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.007299, allocations: 0 / 272.4 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/0.007319, allocations: 0 / 272.4 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.493e-06/0.007325, allocations: 4.094 kB / 272.4 MB, free: 1.715 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 8.18e-05/0.007407, allocations: 156.6 kB / 272.6 MB, free: 1.551 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.007461, allocations: 49.58 kB / 272.6 MB, free: 1.496 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.631e-05/0.007497, allocations: 3.812 kB / 272.6 MB, free: 1.492 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.0075, allocations: 7.938 kB / 272.6 MB, free: 1.484 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.007507, allocations: 7.938 kB / 272.7 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.00751, allocations: 0 / 272.7 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.007649, allocations: 128.6 kB / 272.8 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.00765, allocations: 0 / 272.8 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.084e-05/0.007681, allocations: 4.031 kB / 272.8 MB, free: 1.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.007686, allocations: 8 kB / 272.8 MB, free: 1.305 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.007694, allocations: 3.938 kB / 272.8 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.007695, allocations: 0 / 272.8 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.007696, allocations: 0 / 272.8 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.007822, allocations: 203.6 kB / 273 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.007853, allocations: 15.88 kB / 273 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.007868, allocations: 7.938 kB / 273 MB, free: 1.055 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.2e-05/0.00792, allocations: 4 kB / 273 MB, free: 1.051 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.007959, allocations: 3.938 kB / 273 MB, free: 1.047 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.007962, allocations: 4.031 kB / 273 MB, free: 1.043 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.184e-05/0.008034, allocations: 150.2 kB / 273.2 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008034, allocations: 0 / 273.2 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002171/0.008251, allocations: 4 kB / 273.2 MB, free: 0.8945 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 8.058e-05/0.008332, allocations: 91.25 kB / 273.3 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.988e-05/0.008422, allocations: 15.69 kB / 273.3 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.008423, allocations: 4 kB / 273.3 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.607e-05/0.008439, allocations: 7.688 kB / 273.3 MB, free: 0.7617 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.008769, allocations: 27.48 kB / 273.3 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005299/0.009298, allocations: 165.4 kB / 273.5 MB, free: 0.543 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.568e-05/0.009344, allocations: 59.34 kB / 273.5 MB, free: 476 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.395e-05/0.009368, allocations: 0 / 273.5 MB, free: 476 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.161e-05/0.0094, allocations: 12.5 kB / 273.6 MB, free: 460 kB / 250.7 MB Notification: Performance of SimCode: time 9.82e-07/0.009401, allocations: 0 / 273.6 MB, free: 460 kB / 250.7 MB Notification: Performance of Templates: time 0.002707/0.01211, allocations: 0.5872 MB / 274.1 MB, free: 15.88 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.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.621692106127739]