Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007894/0.0007894, allocations: 94.72 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009456/0.0009456, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002019/0.0002019, allocations: 4 kB / 308.4 MB, free: 0.7812 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09481/0.09503, allocations: 51.52 MB / 359.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002297/0.09736, allocations: 1.631 MB / 361.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.0993, allocations: 1.188 MB / 362.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.09947, allocations: 7.938 kB / 362.7 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005208/0.1, allocations: 135.6 kB / 362.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.1003, allocations: 139.6 kB / 363 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.1008, allocations: 155.6 kB / 363.2 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.1011, allocations: 199.4 kB / 363.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1012, allocations: 41.62 kB / 363.4 MB, free: 9.758 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1013, allocations: 67.66 kB / 363.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.1015, allocations: 75.56 kB / 363.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1015, allocations: 4 kB / 363.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.1016, allocations: 51.91 kB / 363.6 MB, free: 9.562 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.1017, allocations: 39.83 kB / 363.6 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.873e-05/0.1018, allocations: 93.12 kB / 363.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.102, allocations: 171.9 kB / 363.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.102, allocations: 0 / 363.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.102, allocations: 0 / 363.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.102, allocations: 0 / 363.9 MB, free: 9.258 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007133/0.1027, allocations: 0.4885 MB / 364.4 MB, free: 8.715 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1028, allocations: 12.03 kB / 364.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.1028, allocations: 24.73 kB / 364.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.1032, allocations: 270.7 kB / 364.7 MB, free: 8.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1032, allocations: 8.359 kB / 364.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1032, allocations: 12.12 kB / 364.7 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.1035, allocations: 163.6 kB / 364.9 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1035, allocations: 0 / 364.9 MB, free: 8.164 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1036, allocations: 4 kB / 364.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1036, allocations: 0 / 364.9 MB, free: 8.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.1037, allocations: 39.92 kB / 364.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.1041, allocations: 387.1 kB / 365.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.1044, allocations: 138.5 kB / 365.4 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.1045, allocations: 55.42 kB / 365.5 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.1045, allocations: 3.984 kB / 365.5 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.1047, allocations: 83.33 kB / 365.5 MB, free: 7.348 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.763e-06/0.1047, allocations: 0 / 365.5 MB, free: 7.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003488/0.1051, allocations: 157.2 kB / 365.7 MB, free: 7.188 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/0.1052, allocations: 162.2 kB / 365.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.1055, allocations: 283 kB / 366.1 MB, free: 6.707 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.1055, allocations: 29.7 kB / 366.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/0.1056, allocations: 116.4 kB / 366.3 MB, free: 6.551 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1056, allocations: 15.81 kB / 366.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.1056, allocations: 21.7 kB / 366.3 MB, free: 6.508 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1058, allocations: 330.8 kB / 366.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/0.1058, allocations: 31.92 kB / 366.7 MB, free: 6.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.361e-05/0.1059, allocations: 87.45 kB / 366.8 MB, free: 6.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1061, allocations: 89.98 kB / 366.8 MB, free: 5.926 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.1061, allocations: 4 kB / 366.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002127/0.1063, allocations: 133.2 kB / 367 MB, free: 5.785 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1063, allocations: 6.812 kB / 367 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.1064, allocations: 4.312 kB / 367 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1064, allocations: 0 / 367 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.458e-05/0.1064, allocations: 16 kB / 367 MB, free: 5.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.1065, allocations: 20.06 kB / 367 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.1065, allocations: 15.86 kB / 367 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1066, allocations: 4 kB / 367 MB, free: 5.723 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.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 (13): * Single equations (assignments): 13 * 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.0001233/0.1067, allocations: 150.6 kB / 367.2 MB, free: 5.566 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.456e-05/0.1068, allocations: 73.34 kB / 367.3 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.1069, allocations: 25.7 kB / 367.3 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.1069, allocations: 4.094 kB / 367.3 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1069, allocations: 4 kB / 367.3 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.1069, allocations: 7.938 kB / 367.3 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.1071, allocations: 233.6 kB / 367.5 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1071, allocations: 0 / 367.5 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.961e-05/0.1071, allocations: 7.938 kB / 367.5 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.1071, allocations: 0 / 367.5 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1071, allocations: 11.94 kB / 367.6 MB, free: 5.152 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1072, allocations: 3.984 kB / 367.6 MB, free: 5.148 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1072, allocations: 4 kB / 367.6 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.1074, allocations: 171.3 kB / 367.7 MB, free: 4.949 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.763e-05/0.1075, allocations: 116.8 kB / 367.8 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.992e-05/0.1075, allocations: 4 kB / 367.8 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.704e-05/0.1076, allocations: 7.984 kB / 367.9 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.1077, allocations: 4 kB / 367.9 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1077, allocations: 11.94 kB / 367.9 MB, free: 4.789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.1079, allocations: 209.9 kB / 368.1 MB, free: 4.586 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1079, allocations: 0 / 368.1 MB, free: 4.586 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1081, allocations: 35.91 kB / 368.1 MB, free: 4.551 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (11): * Single equations (assignments): 9 * 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.0009493/0.1091, allocations: 410.5 kB / 368.5 MB, free: 4.277 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.1093, allocations: 79.97 kB / 368.6 MB, free: 4.199 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1093, allocations: 4 kB / 368.6 MB, free: 4.195 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.328e-05/0.1094, allocations: 19.98 kB / 368.6 MB, free: 4.176 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.1098, allocations: 81.47 kB / 368.7 MB, free: 4.098 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005557/0.1104, allocations: 419.4 kB / 369.1 MB, free: 3.652 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.1107, allocations: 0.74 MB / 369.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.596e-05/0.1107, allocations: 23.42 kB / 369.9 MB, free: 2.863 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1107, allocations: 0 / 369.9 MB, free: 2.863 MB / 302.1 MB Notification: Performance of Templates: time 0.004851/0.1156, allocations: 2.801 MB / 372.7 MB, free: 84 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches