Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.001467/0.001467, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.001105/0.001105, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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 0.9419/0.9419, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] 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.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 273.4 MB, free: 1.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.804e-05, allocations: 2.312 kB / 273.4 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.002709/0.002737, allocations: 1.935 MB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.004463, allocations: 1.246 MB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.004626, allocations: 11.94 kB / 276.6 MB, free: 13.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.004947, allocations: 63.61 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.005311, allocations: 143.3 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008963/0.006208, allocations: 227 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.006439, allocations: 187.5 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.537e-05/0.006525, allocations: 22.39 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.006649, allocations: 99.78 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.509e-05/0.006744, allocations: 63.8 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.006764, allocations: 8 kB / 277.4 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.006898, allocations: 75.81 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.006961, allocations: 55.77 kB / 277.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.509e-05/0.007006, allocations: 39.86 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.00725, allocations: 187.2 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.007253, allocations: 0 / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.007254, allocations: 4 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.00726, allocations: 0 / 277.7 MB, free: 12.71 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004494/0.007709, allocations: 457.1 kB / 278.2 MB, free: 12.24 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.007741, allocations: 11.98 kB / 278.2 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.007781, allocations: 16.92 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.007989, allocations: 204.8 kB / 278.4 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.008006, allocations: 12.36 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.008018, allocations: 4.375 kB / 278.4 MB, free: 11.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.00821, allocations: 141.9 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.008217, allocations: 192 / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.008225, allocations: 4.375 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.008231, allocations: 7.938 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.89e-05/0.00827, allocations: 26.75 kB / 278.6 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.008525, allocations: 203.5 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.008641, allocations: 141.4 kB / 278.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.008669, allocations: 26.58 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.008685, allocations: 3.938 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.244e-05/0.008767, allocations: 78.08 kB / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.613e-06/0.008769, allocations: 0 / 279 MB, free: 11.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001323/0.008901, allocations: 85.59 kB / 279.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.008946, allocations: 111 kB / 279.2 MB, free: 11.03 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.00912, allocations: 262.6 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.00914, allocations: 29.7 kB / 279.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.009186, allocations: 104.6 kB / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.009207, allocations: 19.89 kB / 279.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.00924, allocations: 29.66 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.554e-05/0.009316, allocations: 330.8 kB / 280 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.009333, allocations: 10.81 kB / 280 MB, free: 10.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.263e-05/0.009366, allocations: 52.28 kB / 280 MB, free: 10.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.399e-05/0.00941, allocations: 43.28 kB / 280.1 MB, free: 10.1 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.009412, allocations: 4.031 kB / 280.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.305e-05/0.009485, allocations: 68.48 kB / 280.1 MB, free: 10.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.009496, allocations: 7.938 kB / 280.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.009501, allocations: 4 kB / 280.2 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.009511, allocations: 3.984 kB / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.009568, allocations: 11.94 kB / 280.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.009571, allocations: 4 kB / 280.2 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/0.009604, allocations: 3.984 kB / 280.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.009611, allocations: 4.312 kB / 280.2 MB, free: 9.98 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.247e-05/0.009683, allocations: 128.6 kB / 280.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.009724, allocations: 57.55 kB / 280.4 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.134e-05/0.009816, allocations: 75.45 kB / 280.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.009818, allocations: 0 / 280.4 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.009821, allocations: 4 kB / 280.4 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.009825, allocations: 3.984 kB / 280.5 MB, free: 9.691 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.393e-05/0.009919, allocations: 105.8 kB / 280.6 MB, free: 9.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.009922, allocations: 4 kB / 280.6 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.009961, allocations: 15.92 kB / 280.6 MB, free: 9.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.009963, allocations: 4.062 kB / 280.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.009974, allocations: 11.94 kB / 280.6 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.009976, allocations: 3.938 kB / 280.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.009977, allocations: 0 / 280.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.515e-05/0.01007, allocations: 112.7 kB / 280.7 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.394e-05/0.01012, allocations: 31.84 kB / 280.7 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.01013, allocations: 0 / 280.7 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.09e-05/0.01016, allocations: 15.88 kB / 280.7 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.0102, allocations: 7.984 kB / 280.8 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.01021, allocations: 4 kB / 280.8 MB, free: 9.336 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.79e-05/0.01029, allocations: 105.6 kB / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01029, allocations: 0 / 280.9 MB, free: 9.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000143/0.01043, allocations: 35.92 kB / 280.9 MB, free: 9.195 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00104/0.01147, allocations: 0.4974 MB / 281.4 MB, free: 8.883 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.221e-05/0.01156, allocations: 48.77 kB / 281.4 MB, free: 8.832 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.01157, allocations: 0 / 281.4 MB, free: 8.832 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.177e-05/0.0116, allocations: 24.92 kB / 281.5 MB, free: 8.805 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.01178, allocations: 68.16 kB / 281.5 MB, free: 8.734 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/0.01214, allocations: 331.5 kB / 281.9 MB, free: 8.375 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.648e-05/0.01218, allocations: 87.97 kB / 281.9 MB, free: 8.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.473e-05/0.01223, allocations: 21.62 kB / 282 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.01231, allocations: 83.53 kB / 282 MB, free: 8.168 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01231, allocations: 4 kB / 282.1 MB, free: 8.164 MB / 266.7 MB Notification: Performance of Templates: time 0.004802/0.01712, allocations: 3.134 MB / 285.2 MB, free: 5.086 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.6301528718322515]