Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000865/0.000865, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009406/0.0009406, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9685/0.9685, allocations: 177 MB / 204.8 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.555e-05, allocations: 9.266 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002312/0.002327, allocations: 1.948 MB / 274.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.003681, allocations: 1.168 MB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.003785, allocations: 7.938 kB / 276 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004358/0.00422, allocations: 159.3 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.004455, allocations: 159.3 kB / 276.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.004717, allocations: 179.2 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.004907, allocations: 187.5 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.663e-05/0.004983, allocations: 17.8 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.005087, allocations: 103.7 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.339e-05/0.005171, allocations: 67.8 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.005189, allocations: 8 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.066e-05/0.005279, allocations: 63.89 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.005329, allocations: 47.78 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.005372, allocations: 39.84 kB / 277 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.00557, allocations: 159.4 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005572, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.005572, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.005576, allocations: 0 / 277.2 MB, free: 13.12 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.0005058/0.006082, allocations: 0.54 MB / 277.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.006116, allocations: 15.98 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.006161, allocations: 24.8 kB / 277.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.006387, allocations: 236.3 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.006401, allocations: 4.375 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.006413, allocations: 8.375 kB / 278 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.006651, allocations: 140.5 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.006658, allocations: 192 / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.006672, allocations: 4.375 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.006679, allocations: 11.92 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.35e-05/0.006723, allocations: 19.98 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.007028, allocations: 351 kB / 278.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.007147, allocations: 109.4 kB / 278.6 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.101e-05/0.007188, allocations: 43.05 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.007206, allocations: 3.938 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.403e-05/0.0073, allocations: 72.98 kB / 278.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.007301, allocations: 4 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002768/0.007578, allocations: 117.5 kB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.007627, allocations: 110.8 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.00781, allocations: 288.3 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.007824, allocations: 29.64 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.007895, allocations: 170.9 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.007915, allocations: 15.84 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.602e-05/0.007951, allocations: 35.31 kB / 279.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.008073, allocations: 0.5004 MB / 280 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.008093, allocations: 11.98 kB / 280 MB, free: 10.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.008141, allocations: 64.84 kB / 280.1 MB, free: 9.926 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.177e-05/0.008192, allocations: 43.61 kB / 280.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.008195, allocations: 0 / 280.1 MB, free: 9.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.784e-05/0.008293, allocations: 85.47 kB / 280.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.008304, allocations: 7.125 kB / 280.2 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.008308, allocations: 4 kB / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.00832, allocations: 0 / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.454e-05/0.008374, allocations: 8 kB / 280.2 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.008379, allocations: 4.062 kB / 280.2 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.969e-05/0.008409, allocations: 7.984 kB / 280.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.008416, allocations: 7.938 kB / 280.3 MB, free: 9.75 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 7.336e-05/0.008489, allocations: 160.6 kB / 280.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.008541, allocations: 73.42 kB / 280.5 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.008662, allocations: 95.38 kB / 280.6 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.008664, allocations: 4 kB / 280.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.008667, allocations: 0 / 280.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.008671, allocations: 3.984 kB / 280.6 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.008927, allocations: 180.6 kB / 280.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008928, allocations: 0 / 280.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.008949, allocations: 7.984 kB / 280.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.008952, allocations: 7.938 kB / 280.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.00896, allocations: 0 / 280.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.008961, allocations: 0 / 280.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.008962, allocations: 7.938 kB / 280.8 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.009083, allocations: 155.8 kB / 280.9 MB, free: 8.977 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.163e-05/0.009125, allocations: 39.78 kB / 281 MB, free: 8.938 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.009142, allocations: 4.047 kB / 281 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.208e-05/0.009174, allocations: 16 kB / 281 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.009202, allocations: 7.984 kB / 281 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.009213, allocations: 4 kB / 281 MB, free: 8.906 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.009315, allocations: 205.1 kB / 281.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009315, allocations: 0 / 281.2 MB, free: 8.707 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000152/0.009467, allocations: 27.94 kB / 281.2 MB, free: 8.68 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.0007347/0.0102, allocations: 395 kB / 281.6 MB, free: 8.402 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.0103, allocations: 43.61 kB / 281.7 MB, free: 8.355 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.01031, allocations: 4 kB / 281.7 MB, free: 8.352 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.01034, allocations: 31.59 kB / 281.7 MB, free: 8.316 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.01058, allocations: 61.61 kB / 281.8 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.01095, allocations: 309.9 kB / 282.1 MB, free: 7.922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.209e-05/0.01099, allocations: 75.83 kB / 282.1 MB, free: 7.828 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.197e-05/0.01103, allocations: 21.61 kB / 282.2 MB, free: 7.801 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.01107, allocations: 24.5 kB / 282.2 MB, free: 7.777 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01107, allocations: 3.938 kB / 282.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of Templates: time 0.004247/0.01531, allocations: 2.555 MB / 284.7 MB, free: 5.246 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.9689477290958166]