Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.544/1.544, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.689e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003843/0.00387, allocations: 1.927 MB / 274.2 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002306/0.006176, allocations: 1.153 MB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.006289, allocations: 3.938 kB / 275.4 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000667/0.006956, allocations: 155.4 kB / 275.6 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.007393, allocations: 155.3 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.007893, allocations: 171.4 kB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002942/0.008187, allocations: 199.4 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.008299, allocations: 25.72 kB / 276.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.008469, allocations: 91.75 kB / 276.2 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.008604, allocations: 71.8 kB / 276.3 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.008647, allocations: 8 kB / 276.3 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.008803, allocations: 59.89 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.008889, allocations: 47.83 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002967/0.009186, allocations: 35.86 kB / 276.4 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.009574, allocations: 219.2 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.009577, allocations: 0 / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.009579, allocations: 4 kB / 276.6 MB, free: 13.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.009584, allocations: 0 / 276.6 MB, free: 13.52 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.0008267/0.01041, allocations: 0.5515 MB / 277.2 MB, free: 12.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.01045, allocations: 12.02 kB / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.864e-05/0.01053, allocations: 28.8 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.01092, allocations: 215.6 kB / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.01093, allocations: 4.375 kB / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.01095, allocations: 8.375 kB / 277.4 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.01129, allocations: 156.6 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.0113, allocations: 3.938 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.01132, allocations: 3.984 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.01132, allocations: 0 / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.01143, allocations: 31.92 kB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.01202, allocations: 375.1 kB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.01228, allocations: 133.3 kB / 278.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.81e-05/0.01238, allocations: 51.05 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.01241, allocations: 3.938 kB / 278.2 MB, free: 11.78 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.01259, allocations: 81.11 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.0126, allocations: 4 kB / 278.3 MB, free: 11.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003972/0.01299, allocations: 129.7 kB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.714e-05/0.01309, allocations: 114.8 kB / 278.5 MB, free: 11.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000402/0.01349, allocations: 336.3 kB / 278.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.01352, allocations: 25.95 kB / 278.8 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.01366, allocations: 182.9 kB / 279 MB, free: 10.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.0137, allocations: 19.84 kB / 279 MB, free: 10.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.919e-05/0.01377, allocations: 39.31 kB / 279.1 MB, free: 10.79 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003143/0.01408, allocations: 0.5079 MB / 279.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/0.01414, allocations: 23.98 kB / 279.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.01425, allocations: 72.75 kB / 279.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.01437, allocations: 63.25 kB / 279.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01437, allocations: 0 / 279.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001895/0.01456, allocations: 85.59 kB / 279.8 MB, free: 9.992 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.01458, allocations: 8.062 kB / 279.8 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01458, allocations: 0 / 279.8 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.0146, allocations: 7.984 kB / 279.8 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-05/0.01468, allocations: 11.94 kB / 279.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01468, allocations: 0 / 279.9 MB, free: 9.965 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.01474, allocations: 8 kB / 279.9 MB, free: 9.957 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.01475, allocations: 4 kB / 279.9 MB, free: 9.953 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,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 0.0001472/0.0149, allocations: 172.5 kB / 280 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.015, allocations: 69.5 kB / 280.1 MB, free: 9.699 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.01525, allocations: 107.5 kB / 280.2 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.01525, allocations: 0 / 280.2 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.01526, allocations: 0 / 280.2 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.01526, allocations: 7.984 kB / 280.2 MB, free: 9.574 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.01552, allocations: 204.5 kB / 280.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01552, allocations: 0 / 280.4 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.897e-05/0.01556, allocations: 11.92 kB / 280.4 MB, free: 9.328 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.01557, allocations: 4 kB / 280.4 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.01558, allocations: 64 / 280.4 MB, free: 9.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.01558, allocations: 4 kB / 280.4 MB, free: 9.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.01558, allocations: 4 kB / 280.4 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.01588, allocations: 179.5 kB / 280.6 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.779e-05/0.01597, allocations: 39.78 kB / 280.7 MB, free: 9.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.016, allocations: 3.984 kB / 280.7 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.157e-05/0.01606, allocations: 4 kB / 280.7 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.01611, allocations: 11.98 kB / 280.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.01613, allocations: 4 kB / 280.7 MB, free: 9.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002442/0.01637, allocations: 225.1 kB / 280.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01637, allocations: 0 / 280.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002436/0.01661, allocations: 24 kB / 280.9 MB, free: 8.805 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,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.002984/0.0196, allocations: 467.6 kB / 281.4 MB, free: 8.527 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.01982, allocations: 55.67 kB / 281.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01982, allocations: 0 / 281.4 MB, free: 8.469 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.731e-05/0.0199, allocations: 39.61 kB / 281.5 MB, free: 8.426 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.02035, allocations: 57.27 kB / 281.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.02097, allocations: 321.9 kB / 281.8 MB, free: 8.02 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.02111, allocations: 123.7 kB / 282 MB, free: 7.879 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.592e-05/0.02118, allocations: 17.62 kB / 282 MB, free: 7.859 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.278e-05/0.02124, allocations: 20.5 kB / 282 MB, free: 7.84 MB / 266.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02124, allocations: 0 / 282 MB, free: 7.84 MB / 266.7 MB Notification: Performance of Templates: time 0.007514/0.02875, allocations: 2.562 MB / 284.6 MB, free: 5.316 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.552961112000048]