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.001332/0.001332, allocations: 111.4 kB / 17.99 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 209.8 kB / 18.92 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 247.1 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 68.55 kB / 307.1 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1049, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004374/0.1093, allocations: 1.973 MB / 359.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.1117, allocations: 1.204 MB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.1119, allocations: 7.938 kB / 360.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007193/0.1127, allocations: 151.6 kB / 361 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005159/0.1132, allocations: 135.6 kB / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.1138, allocations: 155.6 kB / 361.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003484/0.1142, allocations: 203.4 kB / 361.5 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.1144, allocations: 41.66 kB / 361.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.1145, allocations: 87.62 kB / 361.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.1147, allocations: 83.56 kB / 361.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.1148, allocations: 8 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.1149, allocations: 55.97 kB / 361.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.115, allocations: 43.84 kB / 361.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1151, allocations: 79.47 kB / 361.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.1155, allocations: 167.9 kB / 362.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1155, allocations: 0 / 362.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.1155, allocations: 0 / 362.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1155, allocations: 11.88 kB / 362.1 MB, free: 9.969 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.0009623/0.1165, allocations: 0.5273 MB / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.1166, allocations: 12.03 kB / 362.6 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.1166, allocations: 20.66 kB / 362.6 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.117, allocations: 270.8 kB / 362.9 MB, free: 9.047 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1171, allocations: 4.375 kB / 362.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1171, allocations: 16.06 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.1175, allocations: 173.8 kB / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1175, allocations: 0 / 363.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1176, allocations: 3.938 kB / 363.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1176, allocations: 4 kB / 363.1 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1177, allocations: 39.92 kB / 363.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005847/0.1183, allocations: 379.1 kB / 363.5 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.1186, allocations: 130.5 kB / 363.6 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.1187, allocations: 55.42 kB / 363.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.1187, allocations: 12.05 kB / 363.7 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.1189, allocations: 75.33 kB / 363.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.1189, allocations: 0 / 363.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004339/0.1193, allocations: 157.2 kB / 363.9 MB, free: 7.867 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.1195, allocations: 166.6 kB / 364.1 MB, free: 7.668 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004518/0.1199, allocations: 278.6 kB / 364.4 MB, free: 7.387 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.12, allocations: 29.7 kB / 364.4 MB, free: 7.352 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1201, allocations: 124.4 kB / 364.5 MB, free: 7.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.1201, allocations: 11.81 kB / 364.5 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.1202, allocations: 37.61 kB / 364.6 MB, free: 7.168 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1204, allocations: 330.8 kB / 364.9 MB, free: 6.836 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.1205, allocations: 27.98 kB / 364.9 MB, free: 6.809 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1206, allocations: 87.41 kB / 365 MB, free: 6.699 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.1208, allocations: 94.22 kB / 365.1 MB, free: 6.586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.1208, allocations: 4 kB / 365.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002449/0.121, allocations: 129.3 kB / 365.2 MB, free: 6.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1211, allocations: 11.3 kB / 365.2 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1211, allocations: 8 kB / 365.2 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1211, allocations: 0 / 365.2 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.1212, allocations: 12 kB / 365.2 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1212, allocations: 4 kB / 365.2 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.082e-05/0.1213, allocations: 23.77 kB / 365.3 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1213, allocations: 4 kB / 365.3 MB, free: 6.391 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.0001483/0.1214, allocations: 145.8 kB / 365.4 MB, free: 6.238 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.1216, allocations: 77.44 kB / 365.5 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.391e-05/0.1216, allocations: 21.72 kB / 365.5 MB, free: 6.137 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1216, allocations: 7.938 kB / 365.5 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1217, allocations: 3.984 kB / 365.5 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.1217, allocations: 7.922 kB / 365.5 MB, free: 6.117 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.1219, allocations: 237.4 kB / 365.8 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.1219, allocations: 4 kB / 365.8 MB, free: 5.832 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.786e-05/0.122, allocations: 4 kB / 365.8 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.122, allocations: 0 / 365.8 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.122, allocations: 4 kB / 365.8 MB, free: 5.824 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.122, allocations: 8.031 kB / 365.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.122, allocations: 0 / 365.8 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003523/0.1224, allocations: 171.4 kB / 365.9 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1225, allocations: 112.7 kB / 366.1 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.1225, allocations: 12 kB / 366.1 MB, free: 5.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.631e-05/0.1226, allocations: 4 kB / 366.1 MB, free: 5.477 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.1227, allocations: 11.98 kB / 366.1 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.1227, allocations: 12 kB / 366.1 MB, free: 5.453 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002187/0.1229, allocations: 209.9 kB / 366.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1229, allocations: 0 / 366.3 MB, free: 5.25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1232, allocations: 28 kB / 366.3 MB, free: 5.223 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.001563/0.1248, allocations: 411.8 kB / 366.7 MB, free: 4.945 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002347/0.125, allocations: 79.84 kB / 366.8 MB, free: 4.867 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.125, allocations: 0 / 366.8 MB, free: 4.867 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.1251, allocations: 27.98 kB / 366.8 MB, free: 4.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.1255, allocations: 86.41 kB / 366.9 MB, free: 4.762 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007069/0.1263, allocations: 420.3 kB / 367.3 MB, free: 4.309 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1267, allocations: 0.7281 MB / 368.1 MB, free: 3.555 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.1267, allocations: 27.42 kB / 368.1 MB, free: 3.527 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1267, allocations: 4 kB / 368.1 MB, free: 3.523 MB / 302.1 MB Notification: Performance of Templates: time 0.005857/0.1326, allocations: 2.839 MB / 370.9 MB, free: 0.707 MB / 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.1.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