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.001431/0.001431, allocations: 80.62 kB / 22.21 MB, free: 2.293 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.00157/0.00157, allocations: 145.2 kB / 25.59 MB, free: 8.914 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.9708/0.9708, allocations: 173.4 MB / 202.2 MB, free: 8.293 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.202e-06/1.202e-06, allocations: 0 / 269.2 MB, free: 9.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.151e-05/2.271e-05, allocations: 4.531 kB / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002866/0.002889, allocations: 1.914 MB / 271.1 MB, free: 7.859 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.004183, allocations: 1.011 MB / 272.1 MB, free: 6.844 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.004317, allocations: 8.5 kB / 272.1 MB, free: 6.836 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.004869, allocations: 149.1 kB / 272.3 MB, free: 6.691 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.005116, allocations: 119.5 kB / 272.4 MB, free: 6.574 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.005537, allocations: 205 kB / 272.6 MB, free: 6.375 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.005747, allocations: 180.1 kB / 272.8 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.005836, allocations: 21.8 kB / 272.8 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.005964, allocations: 104.4 kB / 272.9 MB, free: 6.074 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.019e-05/0.006054, allocations: 63.8 kB / 273 MB, free: 6.012 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.006073, allocations: 11.06 kB / 273 MB, free: 6.004 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.006188, allocations: 59.89 kB / 273 MB, free: 5.945 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.00624, allocations: 39.86 kB / 273.1 MB, free: 5.906 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.451e-05/0.006285, allocations: 39.84 kB / 273.1 MB, free: 5.867 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002149/0.0065, allocations: 155.3 kB / 273.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.006502, allocations: 0 / 273.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.006502, allocations: 0 / 273.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.696e-06/0.006506, allocations: 4 kB / 273.3 MB, free: 5.711 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.0005068/0.007013, allocations: 0.5332 MB / 273.8 MB, free: 5.137 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.007042, allocations: 8.031 kB / 273.8 MB, free: 5.129 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.007087, allocations: 24.84 kB / 273.8 MB, free: 5.105 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.0073, allocations: 224.3 kB / 274 MB, free: 4.859 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.007318, allocations: 12.36 kB / 274.1 MB, free: 4.848 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.007328, allocations: 4.375 kB / 274.1 MB, free: 4.844 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.007527, allocations: 132.5 kB / 274.2 MB, free: 4.688 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.007537, allocations: 3.938 kB / 274.2 MB, free: 4.684 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.007545, allocations: 8 kB / 274.2 MB, free: 4.676 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.007551, allocations: 0 / 274.2 MB, free: 4.676 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.007586, allocations: 19.98 kB / 274.2 MB, free: 4.656 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.007892, allocations: 311.6 kB / 274.5 MB, free: 4.316 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.008008, allocations: 113.3 kB / 274.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.332e-05/0.008041, allocations: 39 kB / 274.7 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.008056, allocations: 4 kB / 274.7 MB, free: 4.113 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.893e-05/0.008145, allocations: 76.97 kB / 274.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.008146, allocations: 0 / 274.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001803/0.008327, allocations: 105.5 kB / 274.9 MB, free: 3.914 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.008373, allocations: 106.8 kB / 275 MB, free: 3.785 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.008524, allocations: 280.2 kB / 275.2 MB, free: 3.492 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.00854, allocations: 37.64 kB / 275.3 MB, free: 3.449 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/0.008613, allocations: 170.8 kB / 275.4 MB, free: 3.277 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.008629, allocations: 7.906 kB / 275.4 MB, free: 3.27 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/0.008664, allocations: 35.59 kB / 275.5 MB, free: 3.227 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.008787, allocations: 0.5079 MB / 276 MB, free: 2.707 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.008802, allocations: 4 kB / 276 MB, free: 2.703 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.947e-05/0.008842, allocations: 64.73 kB / 276.1 MB, free: 2.621 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.948e-05/0.008881, allocations: 35.62 kB / 276.1 MB, free: 2.578 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.008883, allocations: 0 / 276.1 MB, free: 2.578 MB / 250.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.988e-05/0.008973, allocations: 89.45 kB / 276.2 MB, free: 2.484 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.008986, allocations: 7.984 kB / 276.2 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.00899, allocations: 0 / 276.2 MB, free: 2.477 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.996e-06/0.008999, allocations: 3.938 kB / 276.2 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.517e-05/0.009054, allocations: 16.06 kB / 276.2 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.009057, allocations: 0 / 276.2 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.009092, allocations: 11.89 kB / 276.2 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.009097, allocations: 3.938 kB / 276.2 MB, free: 2.441 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 8.614e-05/0.009183, allocations: 164.6 kB / 276.4 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.449e-05/0.009238, allocations: 61.48 kB / 276.4 MB, free: 2.203 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.009356, allocations: 95.42 kB / 276.5 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.00936, allocations: 4 kB / 276.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.009363, allocations: 64 / 276.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.009366, allocations: 4 kB / 276.5 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.00948, allocations: 141.1 kB / 276.7 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.009481, allocations: 0 / 276.7 MB, free: 1.93 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.229e-05/0.009504, allocations: 8 kB / 276.7 MB, free: 1.922 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.009508, allocations: 7.938 kB / 276.7 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.009514, allocations: 0 / 276.7 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.009515, allocations: 0 / 276.7 MB, free: 1.914 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.009517, allocations: 7.938 kB / 276.7 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.009626, allocations: 143.9 kB / 276.8 MB, free: 1.734 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.009667, allocations: 27.84 kB / 276.9 MB, free: 1.707 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.009691, allocations: 11.94 kB / 276.9 MB, free: 1.695 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.529e-05/0.009726, allocations: 12.05 kB / 276.9 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.495e-05/0.009751, allocations: 4 kB / 276.9 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.009762, allocations: 7.984 kB / 276.9 MB, free: 1.672 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003225/0.01008, allocations: 185.1 kB / 277.1 MB, free: 1.492 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01008, allocations: 0 / 277.1 MB, free: 1.492 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000169/0.01025, allocations: 35.92 kB / 277.1 MB, free: 1.457 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.000807/0.01106, allocations: 407.1 kB / 277.5 MB, free: 1.195 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.971e-05/0.01116, allocations: 47.59 kB / 277.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01116, allocations: 3.938 kB / 277.6 MB, free: 1.141 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.199e-05/0.01119, allocations: 19.69 kB / 277.6 MB, free: 1.117 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.01143, allocations: 59.77 kB / 277.6 MB, free: 1.059 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.01178, allocations: 297.9 kB / 277.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.099e-05/0.01182, allocations: 83.81 kB / 278 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.248e-05/0.01186, allocations: 17.62 kB / 278 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.193e-05/0.01194, allocations: 98.19 kB / 278.1 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01194, allocations: 0 / 278.1 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of Templates: time 0.004411/0.01635, allocations: 2.814 MB / 280.9 MB, free: 13.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.8343791430816054]