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.001744/0.001744, allocations: 120 kB / 18.46 MB, free: 4.613 MB / 14.72 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.002147/0.002147, allocations: 185.2 kB / 21.39 MB, free: 1.688 MB / 14.72 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 1.436/1.436, allocations: 225.6 MB / 249.8 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001469/0.001469, allocations: 51.92 kB / 366.8 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1242, allocations: 52.14 MB / 418.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003063/0.1273, allocations: 1.559 MB / 420.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009136/0.1282, allocations: 482.7 kB / 421 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.1283, allocations: 4 kB / 421 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.582e-05/0.1283, allocations: 3.938 kB / 421 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.1284, allocations: 15.84 kB / 421 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.1287, allocations: 51.89 kB / 421 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.1288, allocations: 39.86 kB / 421.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1289, allocations: 11.98 kB / 421.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.568e-05/0.129, allocations: 23.86 kB / 421.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.242e-05/0.129, allocations: 23.86 kB / 421.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.1291, allocations: 0 / 421.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.387e-05/0.1291, allocations: 4 kB / 421.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.158e-05/0.1291, allocations: 15.92 kB / 421.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.1292, allocations: 27.81 kB / 421.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.1293, allocations: 55.67 kB / 421.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1293, allocations: 4 kB / 421.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1293, allocations: 0 / 421.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1293, allocations: 0 / 421.2 MB, free: 9.809 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.0005308/0.1298, allocations: 375.1 kB / 421.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1299, allocations: 8.031 kB / 421.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.1299, allocations: 12.89 kB / 421.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.1302, allocations: 208.1 kB / 421.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1302, allocations: 4.375 kB / 421.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.1302, allocations: 8.375 kB / 421.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.1305, allocations: 109.3 kB / 422 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1305, allocations: 0 / 422 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1305, allocations: 3.984 kB / 422 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1305, allocations: 4 kB / 422 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.637e-05/0.1306, allocations: 19.98 kB / 422 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.1309, allocations: 265.7 kB / 422.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.131, allocations: 45.14 kB / 422.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.1311, allocations: 25.77 kB / 422.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.1311, allocations: 0 / 422.3 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.1311, allocations: 38.48 kB / 422.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1311, allocations: 4 kB / 422.3 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002422/0.1314, allocations: 57.62 kB / 422.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.1314, allocations: 89.34 kB / 422.5 MB, free: 8.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.1316, allocations: 144.2 kB / 422.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1316, allocations: 25.7 kB / 422.7 MB, free: 8.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.606e-05/0.1316, allocations: 84.14 kB / 422.7 MB, free: 8.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.1317, allocations: 11.92 kB / 422.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.1317, allocations: 17.67 kB / 422.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1318, allocations: 314.8 kB / 423.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-05/0.1319, allocations: 15.98 kB / 423.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.131e-05/0.132, allocations: 13.72 kB / 423.1 MB, free: 7.688 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.675e-05/0.132, allocations: 37.58 kB / 423.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.132, allocations: 0 / 423.1 MB, free: 7.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001215/0.1322, allocations: 57.77 kB / 423.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1322, allocations: 8 kB / 423.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1322, allocations: 0 / 423.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1322, allocations: 0 / 423.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.1323, allocations: 4 kB / 423.2 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1323, allocations: 3.938 kB / 423.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.872e-05/0.1323, allocations: 4 kB / 423.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1323, allocations: 3.984 kB / 423.2 MB, free: 7.559 MB / 350.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 0.0001017/0.1324, allocations: 117.8 kB / 423.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/0.1325, allocations: 41.69 kB / 423.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.1325, allocations: 15.86 kB / 423.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1325, allocations: 0 / 423.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1325, allocations: 0 / 423.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1325, allocations: 0 / 423.4 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.1328, allocations: 173.6 kB / 423.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1328, allocations: 0 / 423.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.1328, allocations: 7.938 kB / 423.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1328, allocations: 0 / 423.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.1328, allocations: 4 kB / 423.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1328, allocations: 15.95 kB / 423.6 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1328, allocations: 3.938 kB / 423.6 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.133, allocations: 156.3 kB / 423.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.659e-05/0.1331, allocations: 93.05 kB / 423.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.1331, allocations: 0 / 423.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/0.1332, allocations: 0 / 423.8 MB, free: 6.836 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.1332, allocations: 12.02 kB / 423.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.1332, allocations: 0 / 423.8 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.485e-05/0.1333, allocations: 105.5 kB / 424 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1333, allocations: 0 / 424 MB, free: 6.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002157/0.1335, allocations: 4 kB / 424 MB, free: 6.719 MB / 350.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.0001244/0.1337, allocations: 107.7 kB / 424.1 MB, free: 6.605 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001384/0.1338, allocations: 27.98 kB / 424.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1338, allocations: 0 / 424.1 MB, free: 6.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.1338, allocations: 8 kB / 424.1 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1342, allocations: 26 kB / 424.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003805/0.1345, allocations: 189.1 kB / 424.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.1349, allocations: 0.6924 MB / 425 MB, free: 5.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.1349, allocations: 11.44 kB / 425 MB, free: 5.598 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1349, allocations: 0 / 425 MB, free: 5.598 MB / 350.1 MB Notification: Performance of Templates: time 0.002386/0.1373, allocations: 0.7231 MB / 425.7 MB, free: 4.883 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.651271801907569]