Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001504/0.001504, allocations: 112.3 kB / 17.98 MB, free: 5.215 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00157/0.00157, allocations: 205.8 kB / 18.92 MB, free: 4.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.398/1.398, allocations: 227.7 MB / 247.4 MB, free: 10.53 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 67.36 kB / 307.4 MB, free: 0.8047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09547, allocations: 50.53 MB / 357.9 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003476/0.09899, allocations: 1.958 MB / 359.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1009, allocations: 1.181 MB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001009/0.1011, allocations: 4 kB / 361.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005323/0.1016, allocations: 139.6 kB / 361.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000347/0.102, allocations: 135.6 kB / 361.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.1024, allocations: 159.6 kB / 361.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.1027, allocations: 195.5 kB / 361.7 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1028, allocations: 29.53 kB / 361.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.1029, allocations: 75.7 kB / 361.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.103, allocations: 75.58 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.103, allocations: 8 kB / 361.9 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1032, allocations: 67.95 kB / 361.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.1032, allocations: 35.84 kB / 362 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.581e-05/0.1033, allocations: 83.41 kB / 362.1 MB, free: 10.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.1036, allocations: 160 kB / 362.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.1036, allocations: 0 / 362.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1036, allocations: 0 / 362.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1036, allocations: 0 / 362.2 MB, free: 9.945 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.0007415/0.1043, allocations: 0.5118 MB / 362.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.1044, allocations: 8.031 kB / 362.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.1044, allocations: 24.66 kB / 362.8 MB, free: 9.348 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.1048, allocations: 266.8 kB / 363 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1049, allocations: 8.375 kB / 363 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1049, allocations: 12.11 kB / 363 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.1052, allocations: 154.7 kB / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1052, allocations: 0 / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.1052, allocations: 0 / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1052, allocations: 0 / 363.2 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.645e-05/0.1053, allocations: 35.92 kB / 363.2 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004856/0.1058, allocations: 366.4 kB / 363.6 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1061, allocations: 107.9 kB / 363.7 MB, free: 8.266 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.749e-05/0.1062, allocations: 46.5 kB / 363.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.1062, allocations: 8 kB / 363.7 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.1064, allocations: 67.39 kB / 363.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.1064, allocations: 0 / 363.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003589/0.1067, allocations: 137.6 kB / 363.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.1069, allocations: 144.7 kB / 364.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003034/0.1072, allocations: 276.9 kB / 364.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1072, allocations: 25.7 kB / 364.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.697e-05/0.1073, allocations: 116.1 kB / 364.5 MB, free: 7.387 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.1073, allocations: 19.75 kB / 364.5 MB, free: 7.367 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.965e-05/0.1074, allocations: 25.7 kB / 364.5 MB, free: 7.336 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.1076, allocations: 334.8 kB / 364.9 MB, free: 7 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.369e-05/0.1076, allocations: 19.98 kB / 364.9 MB, free: 6.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.1077, allocations: 74.06 kB / 365 MB, free: 6.887 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.1079, allocations: 80.25 kB / 365 MB, free: 6.793 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1079, allocations: 0 / 365 MB, free: 6.793 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002132/0.1081, allocations: 117.4 kB / 365.1 MB, free: 6.672 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1081, allocations: 4 kB / 365.1 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1082, allocations: 0 / 365.1 MB, free: 6.668 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1082, allocations: 4 kB / 365.2 MB, free: 6.664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.918e-05/0.1083, allocations: 19.86 kB / 365.2 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1083, allocations: 4 kB / 365.2 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.1084, allocations: 19.91 kB / 365.2 MB, free: 6.621 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.1084, allocations: 8 kB / 365.2 MB, free: 6.613 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,shiftSample1.y,shiftSample1.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.0001476/0.1085, allocations: 141.8 kB / 365.3 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.809e-05/0.1086, allocations: 65.44 kB / 365.4 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.96e-05/0.1087, allocations: 21.7 kB / 365.4 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1087, allocations: 0 / 365.4 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.1087, allocations: 0 / 365.4 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1087, allocations: 12 kB / 365.4 MB, free: 6.363 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.1089, allocations: 233.5 kB / 365.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1089, allocations: 0 / 365.7 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.109, allocations: 7.984 kB / 365.7 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.109, allocations: 4 kB / 365.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.109, allocations: 0 / 365.7 MB, free: 6.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.109, allocations: 4.062 kB / 365.7 MB, free: 6.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.109, allocations: 7.938 kB / 365.7 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.1093, allocations: 154.6 kB / 365.8 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.674e-05/0.1094, allocations: 112.8 kB / 366 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.1094, allocations: 4 kB / 366 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.928e-05/0.1095, allocations: 4 kB / 366 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.1095, allocations: 7.984 kB / 366 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.1096, allocations: 7.938 kB / 366 MB, free: 5.734 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002033/0.1098, allocations: 200.5 kB / 366.2 MB, free: 5.535 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1098, allocations: 4 kB / 366.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.11, allocations: 35.91 kB / 366.2 MB, free: 5.496 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,shiftSample1.y,sample1.y,shiftSample1.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.001431/0.1115, allocations: 423.7 kB / 366.6 MB, free: 5.234 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.1117, allocations: 75.78 kB / 366.7 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1117, allocations: 0 / 366.7 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.156e-05/0.1118, allocations: 27.98 kB / 366.7 MB, free: 5.133 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1122, allocations: 54.94 kB / 366.8 MB, free: 5.082 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.1128, allocations: 398.5 kB / 367.2 MB, free: 4.648 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.1132, allocations: 0.728 MB / 367.9 MB, free: 3.895 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.1132, allocations: 19.44 kB / 367.9 MB, free: 3.875 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1132, allocations: 0 / 367.9 MB, free: 3.875 MB / 302.1 MB Notification: Performance of Templates: time 0.004841/0.1181, allocations: 2.657 MB / 370.6 MB, free: 1.234 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches