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.001185/0.001184, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.357/1.357, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 62.55 kB / 307.6 MB, free: 0.668 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09243/0.09456, allocations: 50.53 MB / 358.2 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.003412/0.09802, allocations: 1.893 MB / 360 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.09999, allocations: 1.181 MB / 361.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.1002, allocations: 7.938 kB / 361.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006265/0.1008, allocations: 159.5 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004245/0.1012, allocations: 151.4 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.1017, allocations: 170.9 kB / 361.7 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.102, allocations: 195.5 kB / 361.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1021, allocations: 33.53 kB / 361.9 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1023, allocations: 71.7 kB / 362 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.1024, allocations: 75.67 kB / 362.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.1024, allocations: 12 kB / 362.1 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.1026, allocations: 51.92 kB / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.86e-05/0.1026, allocations: 47.83 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.685e-05/0.1027, allocations: 71.48 kB / 362.3 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.103, allocations: 207.6 kB / 362.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.103, allocations: 0 / 362.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.103, allocations: 0 / 362.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.103, allocations: 4 kB / 362.5 MB, free: 9.805 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.0007153/0.1038, allocations: 0.5118 MB / 363 MB, free: 9.238 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1038, allocations: 8.031 kB / 363 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.65e-05/0.1039, allocations: 20.66 kB / 363 MB, free: 9.211 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003224/0.1042, allocations: 270.7 kB / 363.3 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1042, allocations: 8.359 kB / 363.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1043, allocations: 12.12 kB / 363.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.1046, allocations: 146.7 kB / 363.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1046, allocations: 0 / 363.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.1047, allocations: 7.938 kB / 363.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1047, allocations: 0 / 363.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.1048, allocations: 31.98 kB / 363.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004712/0.1053, allocations: 366.3 kB / 363.8 MB, free: 8.262 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.1055, allocations: 115.9 kB / 363.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/0.1056, allocations: 38.56 kB / 364 MB, free: 8.074 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.1056, allocations: 8.062 kB / 364 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.1058, allocations: 75.33 kB / 364.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.773e-06/0.1058, allocations: 4 kB / 364.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003509/0.1061, allocations: 141.4 kB / 364.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.271e-05/0.1062, allocations: 132.5 kB / 364.3 MB, free: 7.672 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002808/0.1065, allocations: 276.9 kB / 364.6 MB, free: 7.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.1066, allocations: 29.7 kB / 364.6 MB, free: 7.359 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.338e-05/0.1066, allocations: 112.4 kB / 364.7 MB, free: 7.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1067, allocations: 23.75 kB / 364.8 MB, free: 7.223 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.915e-05/0.1067, allocations: 29.7 kB / 364.8 MB, free: 7.188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1069, allocations: 334.8 kB / 365.1 MB, free: 6.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.1069, allocations: 19.98 kB / 365.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.741e-05/0.107, allocations: 73.88 kB / 365.2 MB, free: 6.738 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.1072, allocations: 80.25 kB / 365.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.1072, allocations: 0 / 365.3 MB, free: 6.645 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002062/0.1074, allocations: 117.4 kB / 365.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1074, allocations: 8.125 kB / 365.4 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1074, allocations: 0 / 365.4 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1074, allocations: 4 kB / 365.4 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.1075, allocations: 11.98 kB / 365.4 MB, free: 6.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.1075, allocations: 4 kB / 365.4 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.242e-05/0.1076, allocations: 11.84 kB / 365.4 MB, free: 6.484 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.1076, allocations: 4 kB / 365.4 MB, free: 6.48 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.0001265/0.1078, allocations: 147.3 kB / 365.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/0.1079, allocations: 65.5 kB / 365.7 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.1079, allocations: 25.7 kB / 365.7 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1079, allocations: 0 / 365.7 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1079, allocations: 0 / 365.7 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1079, allocations: 7.938 kB / 365.7 MB, free: 6.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.1082, allocations: 225.4 kB / 365.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1082, allocations: 320 / 365.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.1082, allocations: 23.86 kB / 365.9 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.1082, allocations: 4 kB / 365.9 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1082, allocations: 0 / 365.9 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1082, allocations: 4.062 kB / 365.9 MB, free: 5.926 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1082, allocations: 4 kB / 365.9 MB, free: 5.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.1085, allocations: 150.5 kB / 366.1 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1086, allocations: 104.9 kB / 366.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.1086, allocations: 4 kB / 366.2 MB, free: 5.625 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.1087, allocations: 12 kB / 366.2 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.1088, allocations: 7.984 kB / 366.2 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.1088, allocations: 7.938 kB / 366.2 MB, free: 5.598 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.109, allocations: 200.5 kB / 366.4 MB, free: 5.398 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.109, allocations: 0 / 366.4 MB, free: 5.398 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1092, allocations: 35.91 kB / 366.5 MB, free: 5.363 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.0009104/0.1102, allocations: 411.7 kB / 366.9 MB, free: 5.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.1104, allocations: 75.84 kB / 366.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1104, allocations: 4 kB / 366.9 MB, free: 5.012 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.783e-05/0.1105, allocations: 16 kB / 366.9 MB, free: 4.996 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.1109, allocations: 77.89 kB / 367 MB, free: 4.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005696/0.1114, allocations: 346.8 kB / 367.4 MB, free: 4.547 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.1118, allocations: 0.7319 MB / 368.1 MB, free: 3.789 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.51e-05/0.1118, allocations: 23.44 kB / 368.1 MB, free: 3.766 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1118, allocations: 0 / 368.1 MB, free: 3.766 MB / 302.1 MB Notification: Performance of Templates: time 0.004751/0.1166, allocations: 2.641 MB / 370.8 MB, free: 1.137 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