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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001573/0.001573, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001996/0.001996, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 246.9 MB, free: 9.051 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.73 kB / 306.9 MB, free: 0.832 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.1004, allocations: 50.52 MB / 357.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.004009/0.1044, allocations: 1.954 MB / 359.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.1064, allocations: 1.181 MB / 360.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.1066, allocations: 3.938 kB / 360.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006516/0.1073, allocations: 139.7 kB / 360.7 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000409/0.1078, allocations: 143.1 kB / 360.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.1083, allocations: 147.7 kB / 361 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00028/0.1086, allocations: 195.4 kB / 361.2 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1088, allocations: 29.55 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.1089, allocations: 67.69 kB / 361.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.1091, allocations: 71.62 kB / 361.3 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.1091, allocations: 4 kB / 361.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.1093, allocations: 47.98 kB / 361.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.003e-05/0.1093, allocations: 39.83 kB / 361.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.073e-05/0.1094, allocations: 67.48 kB / 361.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.1097, allocations: 155.9 kB / 361.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1097, allocations: 4 kB / 361.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.1097, allocations: 0 / 361.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1097, allocations: 0 / 361.7 MB, free: 10.05 MB / 302.1 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.0008311/0.1106, allocations: 0.514 MB / 362.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1106, allocations: 12.02 kB / 362.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.367e-05/0.1107, allocations: 24.66 kB / 362.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.1111, allocations: 270.8 kB / 362.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1111, allocations: 4.375 kB / 362.5 MB, free: 9.137 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.1111, allocations: 12.12 kB / 362.5 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.1115, allocations: 142.7 kB / 362.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1115, allocations: 0 / 362.6 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.1115, allocations: 4 kB / 362.6 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1115, allocations: 4 kB / 362.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.1117, allocations: 31.92 kB / 362.7 MB, free: 8.922 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.1122, allocations: 366.4 kB / 363 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.1125, allocations: 107.9 kB / 363.1 MB, free: 8.375 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.178e-05/0.1126, allocations: 50.48 kB / 363.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.1126, allocations: 3.938 kB / 363.2 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000201/0.1129, allocations: 79.31 kB / 363.3 MB, free: 8.223 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.1129, allocations: 0 / 363.3 MB, free: 8.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004329/0.1133, allocations: 145.4 kB / 363.4 MB, free: 8.074 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.1134, allocations: 132.5 kB / 363.5 MB, free: 7.914 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003178/0.1137, allocations: 272.9 kB / 363.8 MB, free: 7.641 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.1138, allocations: 29.7 kB / 363.8 MB, free: 7.605 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/0.1139, allocations: 112.1 kB / 363.9 MB, free: 7.492 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.1139, allocations: 27.8 kB / 364 MB, free: 7.465 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.072e-05/0.114, allocations: 37.95 kB / 364 MB, free: 7.422 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1141, allocations: 330.8 kB / 364.3 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.714e-05/0.1142, allocations: 23.98 kB / 364.3 MB, free: 7.066 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.325e-05/0.1143, allocations: 62 kB / 364.4 MB, free: 6.984 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1144, allocations: 80.25 kB / 364.5 MB, free: 6.891 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1144, allocations: 0 / 364.5 MB, free: 6.891 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002341/0.1147, allocations: 113.4 kB / 364.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1147, allocations: 4 kB / 364.6 MB, free: 6.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1147, allocations: 8.125 kB / 364.6 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1148, allocations: 0 / 364.6 MB, free: 6.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.664e-05/0.1148, allocations: 16 kB / 364.6 MB, free: 6.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1149, allocations: 3.938 kB / 364.6 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.832e-05/0.1149, allocations: 15.83 kB / 364.6 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.115, allocations: 4 kB / 364.6 MB, free: 6.723 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001423/0.1151, allocations: 150.1 kB / 364.8 MB, free: 6.566 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.071e-05/0.1152, allocations: 65.48 kB / 364.9 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.387e-05/0.1153, allocations: 25.7 kB / 364.9 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1153, allocations: 0 / 364.9 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1153, allocations: 4 kB / 364.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.1153, allocations: 3.938 kB / 364.9 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002056/0.1155, allocations: 233.4 kB / 365.1 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1155, allocations: 4 kB / 365.1 MB, free: 6.184 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.1156, allocations: 8 kB / 365.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1156, allocations: 0 / 365.1 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.1156, allocations: 4 kB / 365.1 MB, free: 6.172 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1156, allocations: 3.984 kB / 365.1 MB, free: 6.168 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1156, allocations: 4.031 kB / 365.1 MB, free: 6.164 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.1159, allocations: 158.5 kB / 365.3 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.116, allocations: 100.9 kB / 365.4 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.1161, allocations: 7.984 kB / 365.4 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.1161, allocations: 4 kB / 365.4 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.1162, allocations: 8 kB / 365.4 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.1162, allocations: 11.92 kB / 365.4 MB, free: 5.836 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.1164, allocations: 204.4 kB / 365.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1164, allocations: 0 / 365.6 MB, free: 5.633 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1167, allocations: 35.91 kB / 365.7 MB, free: 5.598 MB / 302.1 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.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009563/0.1177, allocations: 413 kB / 366.1 MB, free: 5.328 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.1179, allocations: 71.86 kB / 366.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1179, allocations: 0 / 366.1 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.407e-05/0.118, allocations: 31.92 kB / 366.2 MB, free: 5.227 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.1184, allocations: 57.5 kB / 366.2 MB, free: 5.172 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005891/0.119, allocations: 384.7 kB / 366.6 MB, free: 4.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.1193, allocations: 0.7283 MB / 367.3 MB, free: 3.996 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.1193, allocations: 23.42 kB / 367.4 MB, free: 3.973 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1193, allocations: 0 / 367.4 MB, free: 3.973 MB / 302.1 MB Notification: Performance of Templates: time 0.004926/0.1243, allocations: 2.64 MB / 370 MB, free: 1.352 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches