Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001335/0.001335, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001672/0.001672, allocations: 172.7 kB / 24.91 MB, free: 9.148 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.8849/0.8849, allocations: 177.1 MB / 205.3 MB, free: 5.465 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 273.4 MB, free: 1.309 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.501e-05, allocations: 2.312 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.00251/0.002525, allocations: 1.615 MB / 275 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006642/0.003189, allocations: 0.5296 MB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.507e-05/0.003254, allocations: 3.938 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.995e-05/0.003294, allocations: 3.938 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.003406, allocations: 19.84 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.00361, allocations: 55.77 kB / 275.6 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.57e-05/0.003686, allocations: 43.84 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.573e-05/0.003751, allocations: 20.11 kB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.859e-05/0.00384, allocations: 39.84 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.003878, allocations: 15.91 kB / 275.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.003892, allocations: 4 kB / 275.8 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.672e-05/0.003928, allocations: 8 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.003962, allocations: 15.92 kB / 275.8 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.622e-05/0.003978, allocations: 8 kB / 275.8 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.542e-05/0.004073, allocations: 51.75 kB / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004075, allocations: 0 / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.004076, allocations: 0 / 275.9 MB, free: 14.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.946e-06/0.004079, allocations: 0 / 275.9 MB, free: 14.86 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.0002607/0.004339, allocations: 288.5 kB / 276.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.004367, allocations: 15.97 kB / 276.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/0.004453, allocations: 12.92 kB / 276.2 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.004578, allocations: 141.6 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.833e-06/0.004585, allocations: 4.375 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.004593, allocations: 4.375 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.00473, allocations: 110.3 kB / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-06/0.004736, allocations: 192 / 276.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.004741, allocations: 4.125 kB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.004746, allocations: 0 / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.004764, allocations: 7.938 kB / 276.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001387/0.004903, allocations: 153.2 kB / 276.6 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.64e-05/0.004939, allocations: 37.16 kB / 276.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.243e-05/0.004952, allocations: 9.719 kB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.004962, allocations: 3.938 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.004979, allocations: 42.61 kB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.004979, allocations: 0 / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 8.674e-05/0.005066, allocations: 49.56 kB / 276.7 MB, free: 13.87 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.005102, allocations: 81.11 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/0.005164, allocations: 133.6 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.005172, allocations: 25.7 kB / 277 MB, free: 13.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.648e-05/0.005199, allocations: 88.12 kB / 277 MB, free: 13.51 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.00521, allocations: 3.953 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/0.005232, allocations: 21.7 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.25e-05/0.005295, allocations: 315.1 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.49e-06/0.0053, allocations: 8 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-06/0.005306, allocations: 3.938 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.674e-05/0.005323, allocations: 8.859 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.005325, allocations: 0 / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.19e-05/0.005357, allocations: 33.69 kB / 277.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.005366, allocations: 4 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.00537, allocations: 3.938 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.005378, allocations: 4 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.855e-05/0.005417, allocations: 96 / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.005419, allocations: 4 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.477e-05/0.005434, allocations: 7.984 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.005438, allocations: 0 / 277.4 MB, free: 13.07 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 0.0002094/0.005647, allocations: 112.6 kB / 277.6 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.005673, allocations: 33.7 kB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.005695, allocations: 19.72 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.005696, allocations: 0 / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.005699, allocations: 4 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.005702, allocations: 0 / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.23e-05/0.005774, allocations: 77.91 kB / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.005775, allocations: 0 / 277.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.005789, allocations: 4 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.005793, allocations: 0 / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-06/0.005796, allocations: 0 / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.005798, allocations: 4 kB / 277.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.0058, allocations: 7.938 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.505e-05/0.005855, allocations: 140.3 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.005876, allocations: 15.94 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-06/0.005884, allocations: 4 kB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.904e-05/0.005913, allocations: 4.031 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.902e-05/0.005932, allocations: 3.938 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.005934, allocations: 4 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.085e-05/0.005955, allocations: 28.81 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.005955, allocations: 0 / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001127/0.006067, allocations: 4 kB / 277.9 MB, free: 12.56 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 5.907e-05/0.006127, allocations: 80.42 kB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.028e-05/0.006167, allocations: 12.8 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006169, allocations: 0 / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.006178, allocations: 12.92 kB / 278 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.006326, allocations: 19.05 kB / 278 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.006637, allocations: 183.5 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.934e-05/0.006666, allocations: 59.34 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.683e-05/0.006683, allocations: 4 kB / 278.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.006726, allocations: 55.36 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.006726, allocations: 4.156 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Templates: time 0.001765/0.008492, allocations: 0.5981 MB / 278.9 MB, free: 11.49 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4706294029019773]