Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 117.6 kB / 18.46 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002142/0.002142, allocations: 194.6 kB / 21.4 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 39.92 kB / 366.8 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.105, allocations: 52.15 MB / 419 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003663/0.1086, allocations: 1.911 MB / 420.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.1107, allocations: 1.095 MB / 422 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.1108, allocations: 7.938 kB / 422 MB, free: 9.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006787/0.1115, allocations: 166.3 kB / 422.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.1119, allocations: 111.6 kB / 422.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.1125, allocations: 202 kB / 422.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.1128, allocations: 191.5 kB / 422.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1129, allocations: 25.66 kB / 422.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.113, allocations: 91.56 kB / 422.7 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1132, allocations: 75.69 kB / 422.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.1132, allocations: 8 kB / 422.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.1133, allocations: 63.89 kB / 422.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.552e-05/0.1134, allocations: 47.78 kB / 422.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.843e-05/0.1135, allocations: 75.53 kB / 423 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.1139, allocations: 214.9 kB / 423.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1139, allocations: 4 kB / 423.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1139, allocations: 0 / 423.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1139, allocations: 0 / 423.2 MB, free: 7.805 MB / 350.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.0008933/0.1148, allocations: 0.5271 MB / 423.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1148, allocations: 11.89 kB / 423.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.334e-05/0.1149, allocations: 24.8 kB / 423.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.1153, allocations: 278.9 kB / 424.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1153, allocations: 8.375 kB / 424.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.1153, allocations: 8.125 kB / 424.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.1157, allocations: 171.5 kB / 424.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1158, allocations: 0 / 424.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.1158, allocations: 4 kB / 424.2 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1158, allocations: 4 kB / 424.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1159, allocations: 43.91 kB / 424.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.1165, allocations: 371.2 kB / 424.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.1167, allocations: 130.5 kB / 424.8 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.1169, allocations: 55.42 kB / 424.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/0.1169, allocations: 80 / 424.8 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001751/0.117, allocations: 87.25 kB / 424.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.1171, allocations: 0 / 424.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004395/0.1175, allocations: 161.4 kB / 425.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.1176, allocations: 166.6 kB / 425.2 MB, free: 5.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.1179, allocations: 265 kB / 425.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.118, allocations: 29.7 kB / 425.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.1181, allocations: 120.3 kB / 425.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.1181, allocations: 15.89 kB / 425.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-05/0.1182, allocations: 37.66 kB / 425.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1183, allocations: 330.8 kB / 426 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.152e-05/0.1184, allocations: 31.92 kB / 426 MB, free: 4.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.1185, allocations: 79.72 kB / 426.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.1187, allocations: 93.97 kB / 426.2 MB, free: 4.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1187, allocations: 4 kB / 426.2 MB, free: 4.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002518/0.119, allocations: 125.4 kB / 426.3 MB, free: 4.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.119, allocations: 4.188 kB / 426.3 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.119, allocations: 8 kB / 426.4 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.119, allocations: 3.984 kB / 426.4 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.137e-05/0.1191, allocations: 12 kB / 426.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.1191, allocations: 7.938 kB / 426.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.1192, allocations: 20.19 kB / 426.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.1192, allocations: 7.984 kB / 426.4 MB, free: 4.234 MB / 350.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.0001582/0.1194, allocations: 145.8 kB / 426.5 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.1195, allocations: 77.55 kB / 426.6 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.1196, allocations: 25.7 kB / 426.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1196, allocations: 0 / 426.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1196, allocations: 4 kB / 426.7 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.1196, allocations: 7.922 kB / 426.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.1198, allocations: 229.5 kB / 426.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1198, allocations: 0 / 426.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.1199, allocations: 11.92 kB / 426.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1199, allocations: 4 kB / 426.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.1199, allocations: 3.938 kB / 426.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.1199, allocations: 8.094 kB / 426.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1199, allocations: 0 / 426.9 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.1202, allocations: 183.3 kB / 427.1 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.1204, allocations: 101 kB / 427.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.1204, allocations: 8 kB / 427.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.1205, allocations: 11.98 kB / 427.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.1205, allocations: 4 kB / 427.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.1205, allocations: 7.938 kB / 427.2 MB, free: 3.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000227/0.1207, allocations: 200.5 kB / 427.4 MB, free: 3.109 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1207, allocations: 0 / 427.4 MB, free: 3.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.121, allocations: 35.92 kB / 427.5 MB, free: 3.074 MB / 350.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.001537/0.1226, allocations: 429.9 kB / 427.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002626/0.1228, allocations: 75.84 kB / 427.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1228, allocations: 0 / 427.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.311e-05/0.1229, allocations: 23.98 kB / 428 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.1234, allocations: 74.94 kB / 428 MB, free: 2.645 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007617/0.1241, allocations: 367.7 kB / 428.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004473/0.1246, allocations: 0.7319 MB / 429.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.1247, allocations: 27.42 kB / 429.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1247, allocations: 0 / 429.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of Templates: time 0.005686/0.1303, allocations: 2.817 MB / 432 MB, free: 14.66 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.440771227935329]