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.001395/0.001395, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.00118/0.00118, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 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.014/1.014, allocations: 177.1 MB / 205.3 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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 2.214e-06/2.214e-06, allocations: 0 / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.77e-05, allocations: 4.844 kB / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003593/0.003621, allocations: 1.932 MB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.005488, allocations: 1.157 MB / 276.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.005643, allocations: 7.938 kB / 276.5 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000625/0.006268, allocations: 151.4 kB / 276.6 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.006683, allocations: 167.2 kB / 276.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.007159, allocations: 171.4 kB / 277 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.007442, allocations: 191.4 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.007555, allocations: 25.78 kB / 277.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.00773, allocations: 103.7 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.007856, allocations: 71.8 kB / 277.4 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.007881, allocations: 8 kB / 277.4 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.008028, allocations: 59.89 kB / 277.4 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.008101, allocations: 47.78 kB / 277.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.762e-05/0.008158, allocations: 39.84 kB / 277.5 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003073/0.008465, allocations: 159.4 kB / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.00847, allocations: 0 / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008471, allocations: 0 / 277.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.008477, allocations: 0 / 277.7 MB, free: 12.98 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.0006383/0.009115, allocations: 0.54 MB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.009157, allocations: 8.031 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.471e-05/0.009221, allocations: 28.8 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.009512, allocations: 224.3 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.00953, allocations: 4.375 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.009547, allocations: 16.36 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.00978, allocations: 132.6 kB / 278.6 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.00979, allocations: 3.938 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.009798, allocations: 0 / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/0.009807, allocations: 4 kB / 278.6 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.009853, allocations: 23.84 kB / 278.6 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.01023, allocations: 311.7 kB / 278.9 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.01037, allocations: 117.3 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.01042, allocations: 38.94 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.01044, allocations: 7.984 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.01055, allocations: 69.03 kB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.01055, allocations: 0 / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002404/0.01079, allocations: 117.7 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.01085, allocations: 106.8 kB / 279.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.01107, allocations: 288.2 kB / 279.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.01109, allocations: 25.7 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.485e-05/0.01118, allocations: 170.8 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.01122, allocations: 19.83 kB / 279.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.01127, allocations: 35.31 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.01144, allocations: 0.5001 MB / 280.4 MB, free: 9.945 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.01146, allocations: 7.984 kB / 280.4 MB, free: 9.938 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.01151, allocations: 64.75 kB / 280.5 MB, free: 9.855 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.718e-05/0.01157, allocations: 43.33 kB / 280.5 MB, free: 9.805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01157, allocations: 256 / 280.5 MB, free: 9.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001277/0.0117, allocations: 85.47 kB / 280.6 MB, free: 9.715 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.01172, allocations: 4 kB / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01172, allocations: 0 / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.01173, allocations: 0 / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.0118, allocations: 15.98 kB / 280.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.506e-06/0.01181, allocations: 0 / 280.6 MB, free: 9.695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.01186, allocations: 8 kB / 280.6 MB, free: 9.688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.01186, allocations: 0 / 280.6 MB, free: 9.688 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 9.562e-05/0.01196, allocations: 167 kB / 280.8 MB, free: 9.516 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/0.01204, allocations: 69.42 kB / 280.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.0122, allocations: 87.45 kB / 281 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.0122, allocations: 7.984 kB / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.0122, allocations: 0 / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01221, allocations: 0 / 281 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.01236, allocations: 145.1 kB / 281.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.01236, allocations: 0 / 281.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.01239, allocations: 11.98 kB / 281.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.0124, allocations: 11.94 kB / 281.1 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.0124, allocations: 4 kB / 281.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.01241, allocations: 4 kB / 281.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01241, allocations: 0 / 281.1 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.01256, allocations: 147.6 kB / 281.3 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/0.01262, allocations: 27.84 kB / 281.3 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.01265, allocations: 7.938 kB / 281.3 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.513e-05/0.0127, allocations: 8 kB / 281.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.01274, allocations: 7.984 kB / 281.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.01275, allocations: 0 / 281.3 MB, free: 8.914 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.01288, allocations: 201.1 kB / 281.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01288, allocations: 0 / 281.5 MB, free: 8.719 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002744/0.01315, allocations: 31.92 kB / 281.6 MB, free: 8.688 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.001211/0.01437, allocations: 394.7 kB / 281.9 MB, free: 8.438 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001308/0.0145, allocations: 43.59 kB / 282 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0145, allocations: 0 / 282 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.547e-05/0.01454, allocations: 27.62 kB / 282 MB, free: 8.359 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.01491, allocations: 71.23 kB / 282.1 MB, free: 8.297 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004846/0.01539, allocations: 309.2 kB / 282.4 MB, free: 7.965 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.867e-05/0.01544, allocations: 80.06 kB / 282.5 MB, free: 7.867 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.879e-05/0.0155, allocations: 21.48 kB / 282.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.857e-05/0.01559, allocations: 98.17 kB / 282.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01559, allocations: 0 / 282.6 MB, free: 7.742 MB / 266.7 MB Notification: Performance of Templates: time 0.004742/0.02033, allocations: 2.796 MB / 285.4 MB, free: 4.984 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","",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.9241852411068976]