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.000921/0.0009206, allocations: 96.5 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001425, allocations: 207.8 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.7 MB / 247.5 MB, free: 9.668 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002533/0.0002531, allocations: 4 kB / 308.4 MB, free: 0.6133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09161, allocations: 51.53 MB / 359.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample): time 0.002419/0.09407, allocations: 1.599 MB / 361.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.09607, allocations: 1.15 MB / 362.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.09625, allocations: 7.938 kB / 362.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006464/0.0969, allocations: 139.6 kB / 362.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.09731, allocations: 131.6 kB / 362.9 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00052/0.09785, allocations: 150.9 kB / 363.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002935/0.09815, allocations: 195.4 kB / 363.3 MB, free: 9.699 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.0983, allocations: 29.53 kB / 363.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.09845, allocations: 67.64 kB / 363.4 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.09859, allocations: 63.69 kB / 363.4 MB, free: 9.543 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.09862, allocations: 4 kB / 363.4 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001422/0.09877, allocations: 55.91 kB / 363.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.09885, allocations: 39.83 kB / 363.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.481e-05/0.09895, allocations: 97.19 kB / 363.6 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.09918, allocations: 152 kB / 363.8 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.0992, allocations: 3.938 kB / 363.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.09921, allocations: 0 / 363.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.09923, allocations: 0 / 363.8 MB, free: 9.191 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.0006948/0.09993, allocations: 496.2 kB / 364.3 MB, free: 8.652 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.09997, allocations: 12.03 kB / 364.3 MB, free: 8.641 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.132e-05/0.1, allocations: 24.66 kB / 364.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.1004, allocations: 262.8 kB / 364.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.1004, allocations: 12.36 kB / 364.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.1004, allocations: 8.125 kB / 364.6 MB, free: 8.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003112/0.1007, allocations: 142.7 kB / 364.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1008, allocations: 0 / 364.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1008, allocations: 0 / 364.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1008, allocations: 4 kB / 364.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.1009, allocations: 39.91 kB / 364.8 MB, free: 8.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004644/0.1014, allocations: 362.3 kB / 365.1 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.1016, allocations: 107.9 kB / 365.2 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.502e-05/0.1017, allocations: 46.56 kB / 365.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.1017, allocations: 4 kB / 365.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.1019, allocations: 79.31 kB / 365.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 3.076e-06/0.1019, allocations: 0 / 365.3 MB, free: 7.398 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003345/0.1022, allocations: 137.3 kB / 365.5 MB, free: 7.258 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.1023, allocations: 140.8 kB / 365.6 MB, free: 7.09 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.1026, allocations: 268.9 kB / 365.9 MB, free: 6.82 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.1026, allocations: 29.7 kB / 365.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.1027, allocations: 120.2 kB / 366 MB, free: 6.664 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.1027, allocations: 23.73 kB / 366 MB, free: 6.641 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.1028, allocations: 13.72 kB / 366.1 MB, free: 6.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1029, allocations: 338.8 kB / 366.4 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.231e-05/0.103, allocations: 16 kB / 366.4 MB, free: 6.266 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.695e-05/0.103, allocations: 77.92 kB / 366.5 MB, free: 6.168 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.1032, allocations: 72.27 kB / 366.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1032, allocations: 0 / 366.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002007/0.1034, allocations: 113.7 kB / 366.7 MB, free: 5.965 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1034, allocations: 4 kB / 366.7 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1034, allocations: 0 / 366.7 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1035, allocations: 8 kB / 366.7 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.1035, allocations: 15.98 kB / 366.7 MB, free: 5.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.1036, allocations: 8.125 kB / 366.7 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.719e-05/0.1036, allocations: 11.94 kB / 366.7 MB, free: 5.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1037, allocations: 4 kB / 366.7 MB, free: 5.914 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.000121/0.1038, allocations: 149.7 kB / 366.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.475e-05/0.1039, allocations: 65.41 kB / 366.9 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.1039, allocations: 29.64 kB / 366.9 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1039, allocations: 0 / 366.9 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.104, allocations: 8.062 kB / 367 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.104, allocations: 3.938 kB / 367 MB, free: 5.648 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.1042, allocations: 221.5 kB / 367.2 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1042, allocations: 7.984 kB / 367.2 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.648e-05/0.1042, allocations: 11.88 kB / 367.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1042, allocations: 0 / 367.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.1042, allocations: 0 / 367.2 MB, free: 5.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1042, allocations: 4 kB / 367.2 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1042, allocations: 0 / 367.2 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.1045, allocations: 166.4 kB / 367.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.1046, allocations: 104.9 kB / 367.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.1046, allocations: 7.984 kB / 367.5 MB, free: 5.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.302e-05/0.1047, allocations: 8 kB / 367.5 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.1047, allocations: 0 / 367.5 MB, free: 5.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.1048, allocations: 15.91 kB / 367.5 MB, free: 5.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001971/0.105, allocations: 208.5 kB / 367.7 MB, free: 4.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.105, allocations: 0 / 367.7 MB, free: 4.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1052, allocations: 28 kB / 367.7 MB, free: 4.785 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.0009648/0.1062, allocations: 407.7 kB / 368.1 MB, free: 4.516 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.1064, allocations: 67.84 kB / 368.2 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1064, allocations: 0 / 368.2 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.1065, allocations: 36.17 kB / 368.2 MB, free: 4.414 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.1069, allocations: 59.05 kB / 368.3 MB, free: 4.363 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.1075, allocations: 405 kB / 368.7 MB, free: 3.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1078, allocations: 0.7322 MB / 369.4 MB, free: 3.172 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.1078, allocations: 15.44 kB / 369.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1078, allocations: 0 / 369.4 MB, free: 3.156 MB / 302.1 MB Notification: Performance of Templates: time 0.004798/0.1126, allocations: 2.607 MB / 372 MB, free: 0.5586 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