Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.0007592/0.0007592, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001694/0.002453, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0006713/0.0006713, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009193/0.001591, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9358/0.9358, allocations: 173.3 MB / 185.8 MB, free: 8.996 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08252/1.018, allocations: 52.5 MB / 238.3 MB, free: 4.43 MB / 234.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.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 4 kB / 239.5 MB, free: 3.188 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.824e-05, allocations: 6.312 kB / 239.5 MB, free: 3.18 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003553/0.003582, allocations: 1.964 MB / 241.5 MB, free: 1.207 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.005334, allocations: 1.048 MB / 242.6 MB, free: 156 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.005484, allocations: 4 kB / 242.6 MB, free: 152 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006443/0.006128, allocations: 155.4 kB / 242.7 MB, free: 15.99 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003584/0.006487, allocations: 119.4 kB / 242.8 MB, free: 15.88 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006266/0.007113, allocations: 203.3 kB / 243 MB, free: 15.68 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.007396, allocations: 175.5 kB / 243.2 MB, free: 15.51 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.00751, allocations: 30.39 kB / 243.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.007745, allocations: 139.6 kB / 243.4 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001329/0.007878, allocations: 55.81 kB / 243.4 MB, free: 15.29 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.007911, allocations: 8 kB / 243.4 MB, free: 15.28 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001818/0.008093, allocations: 67.88 kB / 243.5 MB, free: 15.21 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.767e-05/0.00816, allocations: 27.88 kB / 243.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.84e-05/0.008219, allocations: 35.86 kB / 243.6 MB, free: 15.15 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.008514, allocations: 139.5 kB / 243.7 MB, free: 15.01 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.971e-05/0.008534, allocations: 0 / 243.7 MB, free: 15.01 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.008535, allocations: 0 / 243.7 MB, free: 15.01 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.008556, allocations: 7.984 kB / 243.7 MB, free: 15 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.000598/0.009154, allocations: 445 kB / 244.1 MB, free: 14.54 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.804e-05/0.009182, allocations: 12.03 kB / 244.1 MB, free: 14.53 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.76e-05/0.00922, allocations: 16.92 kB / 244.2 MB, free: 14.51 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.009432, allocations: 201.6 kB / 244.4 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.009446, allocations: 384 / 244.4 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.009458, allocations: 8.375 kB / 244.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.009627, allocations: 128.6 kB / 244.5 MB, free: 14.13 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.009635, allocations: 3.938 kB / 244.5 MB, free: 14.13 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.009643, allocations: 7.938 kB / 244.5 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.009648, allocations: 3.938 kB / 244.5 MB, free: 14.12 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.65e-05/0.009684, allocations: 18.81 kB / 244.5 MB, free: 14.1 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.009921, allocations: 207.5 kB / 244.7 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.01003, allocations: 122.6 kB / 244.8 MB, free: 13.72 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.01006, allocations: 38.56 kB / 244.9 MB, free: 13.68 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.01008, allocations: 3.938 kB / 244.9 MB, free: 13.67 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.619e-05/0.01017, allocations: 70.2 kB / 245 MB, free: 13.59 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.01017, allocations: 0 / 245 MB, free: 13.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001301/0.01031, allocations: 81.72 kB / 245 MB, free: 13.5 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.01035, allocations: 106.8 kB / 245.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.01048, allocations: 222.9 kB / 245.4 MB, free: 13.14 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.0105, allocations: 37.7 kB / 245.4 MB, free: 13.1 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.01053, allocations: 100.1 kB / 245.5 MB, free: 13 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.01055, allocations: 11.89 kB / 245.5 MB, free: 12.98 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.01058, allocations: 29.69 kB / 245.5 MB, free: 12.95 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.34e-05/0.01065, allocations: 326.8 kB / 245.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.01067, allocations: 6.828 kB / 245.9 MB, free: 12.61 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.0107, allocations: 68.31 kB / 245.9 MB, free: 12.53 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.01074, allocations: 35.3 kB / 246 MB, free: 12.49 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01074, allocations: 0 / 246 MB, free: 12.49 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.271e-05/0.01081, allocations: 72.41 kB / 246 MB, free: 12.41 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.01082, allocations: 4 kB / 246 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.01083, allocations: 0 / 246 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.01084, allocations: 4 kB / 246 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.364e-05/0.01089, allocations: 12 kB / 246.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-06/0.01089, allocations: 0 / 246.1 MB, free: 12.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.076e-05/0.01092, allocations: 11.94 kB / 246.1 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.01093, allocations: 7.984 kB / 246.1 MB, free: 12.37 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.25e-05/0.011, allocations: 124.6 kB / 246.2 MB, free: 12.24 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.01104, allocations: 57.59 kB / 246.2 MB, free: 12.18 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.541e-05/0.01113, allocations: 75.38 kB / 246.3 MB, free: 12.1 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.01113, allocations: 0 / 246.3 MB, free: 12.1 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.01113, allocations: 4 kB / 246.3 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01114, allocations: 0 / 246.3 MB, free: 12.09 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.505e-05/0.01122, allocations: 97.84 kB / 246.4 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.01122, allocations: 4 kB / 246.4 MB, free: 11.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.01125, allocations: 11.92 kB / 246.4 MB, free: 11.96 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.688e-05/0.01128, allocations: 27.83 kB / 246.5 MB, free: 11.94 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.01129, allocations: 3.984 kB / 246.5 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.01129, allocations: 4 kB / 246.5 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01129, allocations: 12.12 kB / 246.5 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.0113, allocations: 0 / 246.5 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.481e-05/0.01137, allocations: 100.4 kB / 246.6 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.01139, allocations: 7.938 kB / 246.6 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.247e-05/0.01142, allocations: 7.984 kB / 246.6 MB, free: 11.78 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.01145, allocations: 4 kB / 246.6 MB, free: 11.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.01146, allocations: 7.984 kB / 246.6 MB, free: 11.77 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.74e-05/0.01152, allocations: 81.61 kB / 246.7 MB, free: 11.68 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01152, allocations: 0 / 246.7 MB, free: 11.68 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001272/0.01164, allocations: 27.89 kB / 246.7 MB, free: 11.66 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.001467/0.01311, allocations: 0.5643 MB / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.01321, allocations: 36.8 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/0.01322, allocations: 7.984 kB / 247.3 MB, free: 11.32 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.485e-05/0.01326, allocations: 24.78 kB / 247.3 MB, free: 11.29 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.01349, allocations: 76.25 kB / 247.4 MB, free: 11.21 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.01403, allocations: 292.4 kB / 247.7 MB, free: 10.89 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.005e-05/0.01408, allocations: 87.75 kB / 247.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 5.257e-05/0.01414, allocations: 17.62 kB / 247.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.092e-05/0.01423, allocations: 79.36 kB / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01423, allocations: 0 / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of Templates: time 0.005268/0.0195, allocations: 2.788 MB / 250.7 MB, free: 7.953 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/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.497024627402425]