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.001812/0.001812, allocations: 115.8 kB / 18.4 MB, free: 4.66 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.002177/0.002177, allocations: 189.3 kB / 21.35 MB, free: 1.723 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.565/1.565, allocations: 222.9 MB / 247.1 MB, free: 4.207 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.001479/0.001479, allocations: 43.92 kB / 358.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.09137, allocations: 49.44 MB / 408.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003272/0.09467, allocations: 1.907 MB / 410 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001806/0.0965, allocations: 1.083 MB / 411.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.09662, allocations: 3.938 kB / 411.1 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005799/0.09722, allocations: 159.5 kB / 411.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.09753, allocations: 111.6 kB / 411.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.09808, allocations: 202.8 kB / 411.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.09835, allocations: 199.4 kB / 411.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.09848, allocations: 37.67 kB / 411.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.0986, allocations: 75.69 kB / 411.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.09873, allocations: 83.56 kB / 411.9 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.818e-05/0.09877, allocations: 8 kB / 412 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.09892, allocations: 51.97 kB / 412 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.09901, allocations: 47.83 kB / 412 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.894e-05/0.0991, allocations: 75.48 kB / 412.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.09942, allocations: 211 kB / 412.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.09944, allocations: 4 kB / 412.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09945, allocations: 0 / 412.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.09946, allocations: 4 kB / 412.3 MB, free: 2.617 MB / 334.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.0007582/0.1002, allocations: 0.5232 MB / 412.9 MB, free: 2.039 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.1003, allocations: 11.89 kB / 412.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.1003, allocations: 20.8 kB / 412.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.1007, allocations: 286.8 kB / 413.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1007, allocations: 4.375 kB / 413.2 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.1008, allocations: 16.12 kB / 413.2 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.1011, allocations: 170 kB / 413.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1011, allocations: 7.938 kB / 413.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1012, allocations: 0 / 413.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1012, allocations: 7.984 kB / 413.4 MB, free: 1.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.1013, allocations: 43.91 kB / 413.4 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.1018, allocations: 371.2 kB / 413.8 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002718/0.1021, allocations: 134.5 kB / 413.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.889e-05/0.1022, allocations: 59.36 kB / 414 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.592e-05/0.1022, allocations: 8 kB / 414 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001618/0.1024, allocations: 75.38 kB / 414 MB, free: 0.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.784e-06/0.1024, allocations: 0 / 414 MB, free: 0.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003933/0.1028, allocations: 161.7 kB / 414.2 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/0.1029, allocations: 162.2 kB / 414.4 MB, free: 316 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.1032, allocations: 269 kB / 414.6 MB, free: 32 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.1033, allocations: 29.86 kB / 414.7 MB, free: 15.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.29e-05/0.1034, allocations: 120.4 kB / 414.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.1034, allocations: 11.91 kB / 414.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.1035, allocations: 41.66 kB / 414.8 MB, free: 15.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1036, allocations: 334.8 kB / 415.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.812e-05/0.1037, allocations: 19.98 kB / 415.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.1038, allocations: 79.72 kB / 415.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.104, allocations: 98.16 kB / 415.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.104, allocations: 4 kB / 415.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002445/0.1043, allocations: 137.5 kB / 415.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1043, allocations: 4 kB / 415.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1043, allocations: 4 kB / 415.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1043, allocations: 0 / 415.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.18e-05/0.1044, allocations: 15.94 kB / 415.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1044, allocations: 4 kB / 415.5 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.1045, allocations: 19.81 kB / 415.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.1045, allocations: 7.938 kB / 415.5 MB, free: 15.03 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.0001367/0.1047, allocations: 146 kB / 415.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.1048, allocations: 77.47 kB / 415.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.1048, allocations: 21.72 kB / 415.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1049, allocations: 0 / 415.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.1049, allocations: 7.984 kB / 415.8 MB, free: 14.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.1049, allocations: 3.938 kB / 415.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002758/0.1052, allocations: 229.5 kB / 416 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1052, allocations: 0 / 416 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.1052, allocations: 8.078 kB / 416 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1052, allocations: 4 kB / 416 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1052, allocations: 4 kB / 416 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1052, allocations: 3.938 kB / 416 MB, free: 14.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.1052, allocations: 4 kB / 416 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.1056, allocations: 187.2 kB / 416.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.1057, allocations: 104.9 kB / 416.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.1057, allocations: 11.98 kB / 416.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.36e-05/0.1058, allocations: 7.938 kB / 416.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.1058, allocations: 4.062 kB / 416.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.1059, allocations: 19.92 kB / 416.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002096/0.1061, allocations: 196.5 kB / 416.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1061, allocations: 0 / 416.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002582/0.1064, allocations: 28 kB / 416.6 MB, free: 13.88 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.001518/0.1079, allocations: 420.6 kB / 417 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002301/0.1081, allocations: 71.91 kB / 417.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1081, allocations: 0 / 417.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.786e-05/0.1082, allocations: 31.92 kB / 417.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.1087, allocations: 83.38 kB / 417.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005969/0.1093, allocations: 371 kB / 417.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.1097, allocations: 0.7435 MB / 418.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.1098, allocations: 19.44 kB / 418.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1098, allocations: 4 kB / 418.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Templates: time 0.00526/0.115, allocations: 2.792 MB / 421.1 MB, free: 9.477 MB / 350.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.521248407079838]