Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001032/0.001032, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004297/0.005328, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001/0.001, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001465/0.002465, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9929/0.9929, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09821/1.091, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.243e-05, allocations: 2.312 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002989/0.003012, allocations: 1.998 MB / 247.2 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.004888, allocations: 1.191 MB / 248.4 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.005032, allocations: 7.938 kB / 248.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.005505, allocations: 147.4 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.005863, allocations: 171.1 kB / 248.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.006345, allocations: 183.3 kB / 248.9 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.006626, allocations: 183.5 kB / 249.1 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.724e-05/0.006723, allocations: 18.47 kB / 249.1 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.007051, allocations: 135.6 kB / 249.2 MB, free: 9.543 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.007175, allocations: 67.8 kB / 249.3 MB, free: 9.477 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.007198, allocations: 8 kB / 249.3 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.007372, allocations: 71.81 kB / 249.4 MB, free: 9.398 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.57e-05/0.007438, allocations: 35.88 kB / 249.4 MB, free: 9.363 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.007487, allocations: 31.88 kB / 249.4 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.007744, allocations: 151.4 kB / 249.6 MB, free: 9.184 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/0.007756, allocations: 0 / 249.6 MB, free: 9.184 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.007758, allocations: 3.938 kB / 249.6 MB, free: 9.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.007767, allocations: 0 / 249.6 MB, free: 9.18 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005182/0.008286, allocations: 449 kB / 250 MB, free: 8.711 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.008316, allocations: 8.031 kB / 250 MB, free: 8.703 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.008375, allocations: 20.92 kB / 250 MB, free: 8.684 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.008626, allocations: 217.5 kB / 250.3 MB, free: 8.441 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.008642, allocations: 4.375 kB / 250.3 MB, free: 8.438 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.008659, allocations: 12.36 kB / 250.3 MB, free: 8.426 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.008842, allocations: 117.2 kB / 250.4 MB, free: 8.289 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.00885, allocations: 4.188 kB / 250.4 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.008859, allocations: 4.375 kB / 250.4 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.008866, allocations: 11.94 kB / 250.4 MB, free: 8.27 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.79e-05/0.008904, allocations: 22.73 kB / 250.4 MB, free: 8.246 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002642/0.009168, allocations: 199.6 kB / 250.6 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.009293, allocations: 126.5 kB / 250.7 MB, free: 7.875 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.009327, allocations: 30.64 kB / 250.8 MB, free: 7.836 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.009345, allocations: 4 kB / 250.8 MB, free: 7.832 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000104/0.009449, allocations: 74.09 kB / 250.9 MB, free: 7.746 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.193e-06/0.00945, allocations: 0 / 250.9 MB, free: 7.746 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.00016/0.00961, allocations: 81.59 kB / 250.9 MB, free: 7.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.009655, allocations: 106.8 kB / 251 MB, free: 7.531 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.009823, allocations: 226.7 kB / 251.3 MB, free: 7.297 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.009841, allocations: 33.64 kB / 251.3 MB, free: 7.258 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.552e-05/0.009886, allocations: 104.5 kB / 251.4 MB, free: 7.152 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.009909, allocations: 27.75 kB / 251.4 MB, free: 7.125 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.009947, allocations: 21.72 kB / 251.4 MB, free: 7.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003546/0.0103, allocations: 339 kB / 251.8 MB, free: 6.758 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.01032, allocations: 14.83 kB / 251.8 MB, free: 6.742 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.834e-05/0.01036, allocations: 52.27 kB / 251.8 MB, free: 6.676 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.387e-05/0.0104, allocations: 31.36 kB / 251.9 MB, free: 6.637 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.0104, allocations: 4 kB / 251.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.937e-05/0.01049, allocations: 64.44 kB / 251.9 MB, free: 6.562 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.01051, allocations: 11.94 kB / 251.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.01051, allocations: 0 / 251.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.01052, allocations: 0 / 251.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.01059, allocations: 12.06 kB / 252 MB, free: 6.539 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.01059, allocations: 4 kB / 252 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.119e-05/0.01063, allocations: 8.297 kB / 252 MB, free: 6.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.01064, allocations: 3.938 kB / 252 MB, free: 6.523 MB / 250.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,sample1.u) * 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.454e-05/0.01071, allocations: 126.3 kB / 252.1 MB, free: 6.391 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.01076, allocations: 53.56 kB / 252.1 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.01087, allocations: 79.39 kB / 252.2 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01087, allocations: 0 / 252.2 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.01087, allocations: 0 / 252.2 MB, free: 6.25 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01087, allocations: 4.062 kB / 252.2 MB, free: 6.246 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.01098, allocations: 105.8 kB / 252.3 MB, free: 6.125 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01098, allocations: 4 kB / 252.3 MB, free: 6.121 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/0.01101, allocations: 7.984 kB / 252.3 MB, free: 6.113 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.01105, allocations: 31.83 kB / 252.4 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.01105, allocations: 0 / 252.4 MB, free: 6.082 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.01106, allocations: 3.938 kB / 252.4 MB, free: 6.078 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-06/0.01106, allocations: 7.938 kB / 252.4 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01106, allocations: 0 / 252.4 MB, free: 6.07 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.964e-05/0.01115, allocations: 96.48 kB / 252.5 MB, free: 5.949 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.01117, allocations: 4 kB / 252.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.145e-05/0.01121, allocations: 15.92 kB / 252.5 MB, free: 5.93 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.692e-05/0.01123, allocations: 4 kB / 252.5 MB, free: 5.926 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.01124, allocations: 11.98 kB / 252.5 MB, free: 5.914 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003263/0.01157, allocations: 85.59 kB / 252.6 MB, free: 5.824 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01157, allocations: 0 / 252.6 MB, free: 5.824 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.01176, allocations: 31.89 kB / 252.6 MB, free: 5.793 MB / 250.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,sample1.u,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.00141/0.01317, allocations: 0.5547 MB / 253.2 MB, free: 5.465 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.316e-05/0.01326, allocations: 40.83 kB / 253.2 MB, free: 5.422 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.01327, allocations: 0 / 253.2 MB, free: 5.422 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.01331, allocations: 28.78 kB / 253.3 MB, free: 5.391 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.01365, allocations: 329.1 kB / 253.6 MB, free: 5.008 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006165/0.01426, allocations: 303.4 kB / 253.9 MB, free: 4.68 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.99e-05/0.01431, allocations: 79.83 kB / 254 MB, free: 4.582 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.669e-05/0.01437, allocations: 17.83 kB / 254 MB, free: 4.566 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.01446, allocations: 75.36 kB / 254 MB, free: 4.492 MB / 250.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01446, allocations: 0 / 254 MB, free: 4.492 MB / 250.7 MB Notification: Performance of Templates: time 0.005638/0.0201, allocations: 2.861 MB / 256.9 MB, free: 1.668 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5141711747273803]