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.0009452/0.0009452, allocations: 85.05 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009244/0.0009244, allocations: 145.5 kB / 24.89 MB, free: 8.727 MB / 18.57 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.9294/0.9294, allocations: 173.4 MB / 201.5 MB, free: 8.246 MB / 186.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 1.082e-06/1.082e-06, allocations: 3.938 kB / 268.5 MB, free: 9.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.012e-05, allocations: 8.094 kB / 268.5 MB, free: 9.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.00233/0.00235, allocations: 1.914 MB / 270.4 MB, free: 7.898 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.003731, allocations: 1.032 MB / 271.4 MB, free: 6.863 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.003847, allocations: 3.938 kB / 271.4 MB, free: 6.859 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004933/0.00434, allocations: 151.5 kB / 271.6 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.004558, allocations: 116.3 kB / 271.7 MB, free: 6.598 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.004954, allocations: 202.6 kB / 271.9 MB, free: 6.402 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.005154, allocations: 179.5 kB / 272.1 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.963e-05/0.005234, allocations: 26.44 kB / 272.1 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.005348, allocations: 103.7 kB / 272.2 MB, free: 6.098 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.904e-05/0.005437, allocations: 59.81 kB / 272.2 MB, free: 6.039 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.005456, allocations: 9.375 kB / 272.3 MB, free: 6.031 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.005561, allocations: 59.89 kB / 272.3 MB, free: 5.973 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.005615, allocations: 43.83 kB / 272.4 MB, free: 5.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.963e-05/0.005654, allocations: 35.88 kB / 272.4 MB, free: 5.895 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.005859, allocations: 160 kB / 272.5 MB, free: 5.738 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.005861, allocations: 0 / 272.5 MB, free: 5.738 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005861, allocations: 4 kB / 272.5 MB, free: 5.734 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.736e-06/0.005864, allocations: 0 / 272.5 MB, free: 5.734 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.0004087/0.006273, allocations: 409.4 kB / 272.9 MB, free: 5.305 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.006301, allocations: 12.03 kB / 273 MB, free: 5.293 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.006336, allocations: 20.92 kB / 273 MB, free: 5.273 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.006532, allocations: 209.5 kB / 273.2 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.006546, allocations: 4.375 kB / 273.2 MB, free: 5.039 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.006561, allocations: 12.36 kB / 273.2 MB, free: 5.027 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.006732, allocations: 129.2 kB / 273.3 MB, free: 4.879 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.006745, allocations: 3.938 kB / 273.3 MB, free: 4.875 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.006753, allocations: 0 / 273.3 MB, free: 4.875 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.006758, allocations: 0 / 273.3 MB, free: 4.875 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.476e-05/0.006793, allocations: 22.81 kB / 273.4 MB, free: 4.852 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.007041, allocations: 203.5 kB / 273.6 MB, free: 4.629 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.007146, allocations: 130.5 kB / 273.7 MB, free: 4.473 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.843e-05/0.007175, allocations: 30.64 kB / 273.7 MB, free: 4.434 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.00719, allocations: 11.92 kB / 273.7 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.66e-05/0.007267, allocations: 62.16 kB / 273.8 MB, free: 4.348 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.007268, allocations: 0 / 273.8 MB, free: 4.348 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.000125/0.007393, allocations: 81.59 kB / 273.9 MB, free: 4.262 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.007439, allocations: 111.1 kB / 274 MB, free: 4.129 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.007572, allocations: 218.7 kB / 274.2 MB, free: 3.898 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.007586, allocations: 33.7 kB / 274.2 MB, free: 3.859 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.007624, allocations: 108 kB / 274.3 MB, free: 3.75 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.007641, allocations: 11.89 kB / 274.3 MB, free: 3.738 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.007673, allocations: 25.7 kB / 274.4 MB, free: 3.707 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003165/0.007989, allocations: 330.8 kB / 274.7 MB, free: 3.375 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.008006, allocations: 10.83 kB / 274.7 MB, free: 3.363 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.025e-05/0.008036, allocations: 52.22 kB / 274.7 MB, free: 3.297 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.008081, allocations: 39.34 kB / 274.8 MB, free: 3.25 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.008084, allocations: 4.016 kB / 274.8 MB, free: 3.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.843e-05/0.008152, allocations: 72.64 kB / 274.9 MB, free: 3.168 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.008163, allocations: 6.344 kB / 274.9 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.008167, allocations: 0 / 274.9 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.008179, allocations: 7.984 kB / 274.9 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.662e-05/0.008226, allocations: 11.94 kB / 274.9 MB, free: 3.145 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.008228, allocations: 0 / 274.9 MB, free: 3.145 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.009e-05/0.008258, allocations: 8 kB / 274.9 MB, free: 3.137 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.008263, allocations: 0 / 274.9 MB, free: 3.137 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 6.657e-05/0.00833, allocations: 124.5 kB / 275 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.087e-05/0.00837, allocations: 57.66 kB / 275.1 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.479e-05/0.008455, allocations: 75.39 kB / 275.1 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.008458, allocations: 3.984 kB / 275.1 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.008459, allocations: 0 / 275.1 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.008465, allocations: 4 kB / 275.1 MB, free: 2.852 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.841e-05/0.008553, allocations: 105.8 kB / 275.3 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.008554, allocations: 0 / 275.3 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.008571, allocations: 8 kB / 275.3 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.008573, allocations: 0 / 275.3 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.008581, allocations: 7.922 kB / 275.3 MB, free: 2.715 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.008584, allocations: 8.297 kB / 275.3 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.008585, allocations: 0 / 275.3 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.061e-05/0.008665, allocations: 112.4 kB / 275.4 MB, free: 2.57 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.008706, allocations: 27.89 kB / 275.4 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.855e-05/0.008725, allocations: 7.938 kB / 275.4 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.021e-05/0.008755, allocations: 4 kB / 275.4 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.00878, allocations: 7.984 kB / 275.4 MB, free: 2.523 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.00879, allocations: 4 kB / 275.4 MB, free: 2.52 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.248e-05/0.008853, allocations: 77.61 kB / 275.5 MB, free: 2.441 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008853, allocations: 0 / 275.5 MB, free: 2.441 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001409/0.008994, allocations: 31.94 kB / 275.5 MB, free: 2.41 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.001145/0.01014, allocations: 0.5203 MB / 276.1 MB, free: 2.121 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.33e-05/0.01023, allocations: 44.77 kB / 276.1 MB, free: 2.074 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.01024, allocations: 0 / 276.1 MB, free: 2.074 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.01e-05/0.01027, allocations: 28.72 kB / 276.1 MB, free: 2.043 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.01045, allocations: 56.2 kB / 276.2 MB, free: 1.988 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.01078, allocations: 296.3 kB / 276.5 MB, free: 1.668 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.239e-05/0.01082, allocations: 83.81 kB / 276.6 MB, free: 1.566 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.637e-05/0.01087, allocations: 25.61 kB / 276.6 MB, free: 1.539 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.811e-05/0.01095, allocations: 75.36 kB / 276.7 MB, free: 1.465 MB / 250.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01095, allocations: 0 / 276.7 MB, free: 1.465 MB / 250.7 MB Notification: Performance of Templates: time 0.00425/0.0152, allocations: 2.76 MB / 279.4 MB, free: 14.76 MB / 266.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 -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.607930185738951]