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.001246/0.001246, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001326/0.001326, allocations: 165 kB / 24.56 MB, free: 12 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 0.987/0.987, allocations: 177.1 MB / 205 MB, free: 5.621 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 1.703e-06/1.703e-06, allocations: 0 / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.584e-05, allocations: 2.312 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.00372/0.003746, allocations: 1.958 MB / 274.9 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.005796, allocations: 1.169 MB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001637/0.00596, allocations: 7.938 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007114/0.006671, allocations: 155.4 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.007147, allocations: 163.3 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.007697, allocations: 171.3 kB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003113/0.008009, allocations: 199.4 kB / 276.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.008127, allocations: 17.81 kB / 276.8 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.008301, allocations: 103.7 kB / 276.9 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001316/0.008433, allocations: 63.86 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.00846, allocations: 11.94 kB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.008616, allocations: 63.89 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.008698, allocations: 43.84 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.503e-05/0.008763, allocations: 35.84 kB / 277.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.009086, allocations: 163.3 kB / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.009089, allocations: 0 / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.009091, allocations: 0 / 277.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.009096, allocations: 4 kB / 277.3 MB, free: 13.21 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.0007464/0.009842, allocations: 0.5323 MB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.009886, allocations: 8.031 kB / 277.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.26e-05/0.009969, allocations: 32.8 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003332/0.0103, allocations: 228.2 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.01033, allocations: 8.375 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.01035, allocations: 4.375 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.01067, allocations: 144.3 kB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.01068, allocations: 3.938 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.0107, allocations: 4 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.01071, allocations: 4 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.494e-05/0.01078, allocations: 23.91 kB / 278.3 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004825/0.01127, allocations: 347 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.01145, allocations: 117.3 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.202e-05/0.01151, allocations: 46.98 kB / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.01153, allocations: 0 / 278.8 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.01166, allocations: 73.05 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.453e-06/0.01167, allocations: 0 / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003062/0.01197, allocations: 125.4 kB / 279 MB, free: 11.33 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.01204, allocations: 106.8 kB / 279.1 MB, free: 11.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.01231, allocations: 288.6 kB / 279.3 MB, free: 10.9 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.01233, allocations: 33.7 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.01243, allocations: 162.9 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.01246, allocations: 19.84 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.01251, allocations: 35.31 kB / 279.6 MB, free: 10.64 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.01267, allocations: 0.5001 MB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.635e-05/0.0127, allocations: 11.98 kB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.01276, allocations: 64.73 kB / 280.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.901e-05/0.01284, allocations: 47.25 kB / 280.2 MB, free: 9.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.01285, allocations: 0 / 280.2 MB, free: 9.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001496/0.013, allocations: 85.56 kB / 280.3 MB, free: 9.887 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.01301, allocations: 4 kB / 280.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.01302, allocations: 0 / 280.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01303, allocations: 4 kB / 280.3 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.633e-05/0.01312, allocations: 11.98 kB / 280.3 MB, free: 9.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.01312, allocations: 3.938 kB / 280.3 MB, free: 9.863 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.412e-05/0.01318, allocations: 8 kB / 280.3 MB, free: 9.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.01319, allocations: 4 kB / 280.3 MB, free: 9.852 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.0001113/0.0133, allocations: 165.3 kB / 280.5 MB, free: 9.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/0.01339, allocations: 69.52 kB / 280.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.01357, allocations: 95.81 kB / 280.6 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.01358, allocations: 7.984 kB / 280.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.01359, allocations: 0 / 280.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.01359, allocations: 4 kB / 280.7 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.01377, allocations: 180.5 kB / 280.8 MB, free: 9.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01377, allocations: 7.938 kB / 280.8 MB, free: 9.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.01381, allocations: 4 kB / 280.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01381, allocations: 0 / 280.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.01382, allocations: 4 kB / 280.8 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.01383, allocations: 4.062 kB / 280.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01383, allocations: 0 / 280.9 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.01403, allocations: 167.5 kB / 281 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.535e-05/0.01409, allocations: 35.83 kB / 281.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.01412, allocations: 0 / 281.1 MB, free: 9.031 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.68e-05/0.01418, allocations: 8 kB / 281.1 MB, free: 9.023 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.01422, allocations: 7.984 kB / 281.1 MB, free: 9.016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.01423, allocations: 4 kB / 281.1 MB, free: 9.012 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.0144, allocations: 201.1 kB / 281.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0144, allocations: 0 / 281.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.01469, allocations: 31.94 kB / 281.3 MB, free: 8.785 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.00122/0.01591, allocations: 396.8 kB / 281.7 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.01607, allocations: 51.55 kB / 281.7 MB, free: 8.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.01607, allocations: 4 kB / 281.7 MB, free: 8.477 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.073e-05/0.01612, allocations: 27.67 kB / 281.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.01653, allocations: 68.44 kB / 281.8 MB, free: 8.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005303/0.01706, allocations: 301.9 kB / 282.1 MB, free: 8.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.14e-05/0.01712, allocations: 83.81 kB / 282.2 MB, free: 7.949 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.125e-05/0.01719, allocations: 22 kB / 282.2 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.01724, allocations: 20.5 kB / 282.3 MB, free: 7.902 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01724, allocations: 0 / 282.3 MB, free: 7.902 MB / 266.7 MB Notification: Performance of Templates: time 0.006761/0.024, allocations: 2.745 MB / 285 MB, free: 5.191 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.829668592195958]