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.001275/0.001275, allocations: 114.7 kB / 18.46 MB, free: 4.543 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.001333/0.001333, allocations: 196.2 kB / 21.4 MB, free: 1.605 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.491/1.491, allocations: 225.6 MB / 249.8 MB, free: 3.617 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.001536/0.001536, allocations: 44.06 kB / 366.8 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08879/0.09032, allocations: 52.15 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003466/0.09379, allocations: 1.919 MB / 420.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.09576, allocations: 1.095 MB / 422 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.09591, allocations: 7.938 kB / 422 MB, free: 9.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005974/0.0965, allocations: 151.5 kB / 422.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.09686, allocations: 119.5 kB / 422.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006035/0.09747, allocations: 206.8 kB / 422.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000277/0.09774, allocations: 187.5 kB / 422.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.09786, allocations: 21.67 kB / 422.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.09801, allocations: 83.62 kB / 422.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.09814, allocations: 83.61 kB / 422.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.09816, allocations: 12 kB / 422.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.09831, allocations: 55.97 kB / 422.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.09838, allocations: 47.83 kB / 422.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.621e-05/0.09847, allocations: 75.42 kB / 423 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000354/0.09882, allocations: 219 kB / 423.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.09883, allocations: 3.938 kB / 423.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09883, allocations: 0 / 423.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.09883, allocations: 0 / 423.2 MB, free: 7.832 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.0008022/0.09964, allocations: 0.5271 MB / 423.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.09967, allocations: 15.89 kB / 423.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.09973, allocations: 20.8 kB / 423.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.1001, allocations: 275 kB / 424 MB, free: 6.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.1001, allocations: 8.375 kB / 424.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1002, allocations: 8.125 kB / 424.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.1005, allocations: 177.8 kB / 424.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.1005, allocations: 3.984 kB / 424.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.1006, allocations: 0 / 424.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1006, allocations: 0 / 424.2 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.1007, allocations: 43.91 kB / 424.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.1012, allocations: 371.3 kB / 424.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.1014, allocations: 138.5 kB / 424.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.754e-05/0.1015, allocations: 47.42 kB / 424.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1016, allocations: 4 kB / 424.8 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.1017, allocations: 87.25 kB / 424.9 MB, free: 5.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.1017, allocations: 0 / 424.9 MB, free: 5.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003867/0.1021, allocations: 153.5 kB / 425.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.1022, allocations: 162.2 kB / 425.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/0.1025, allocations: 281.3 kB / 425.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1025, allocations: 25.7 kB / 425.5 MB, free: 5.223 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.823e-05/0.1026, allocations: 124.3 kB / 425.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.047e-05/0.1027, allocations: 11.91 kB / 425.7 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.1027, allocations: 41.66 kB / 425.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1029, allocations: 334.8 kB / 426 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.692e-05/0.1029, allocations: 16 kB / 426 MB, free: 4.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1031, allocations: 87.7 kB / 426.1 MB, free: 4.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.1032, allocations: 97.91 kB / 426.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1032, allocations: 0 / 426.2 MB, free: 4.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002485/0.1035, allocations: 133.7 kB / 426.3 MB, free: 4.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.1035, allocations: 6.188 kB / 426.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1035, allocations: 0 / 426.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1035, allocations: 4.188 kB / 426.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.498e-05/0.1036, allocations: 19.94 kB / 426.4 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.1036, allocations: 3.984 kB / 426.4 MB, free: 4.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.871e-05/0.1037, allocations: 15.89 kB / 426.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.1037, allocations: 4 kB / 426.4 MB, free: 4.266 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.0001403/0.1038, allocations: 149.7 kB / 426.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.1039, allocations: 69.53 kB / 426.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/0.104, allocations: 29.8 kB / 426.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.104, allocations: 4 kB / 426.6 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.104, allocations: 0 / 426.6 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.104, allocations: 7.938 kB / 426.7 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.1042, allocations: 233.6 kB / 426.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1043, allocations: 4 kB / 426.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.879e-05/0.1043, allocations: 4 kB / 426.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1043, allocations: 0 / 426.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1043, allocations: 4 kB / 426.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1043, allocations: 0 / 426.9 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.1043, allocations: 4 kB / 426.9 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.1046, allocations: 187.3 kB / 427.1 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1047, allocations: 105 kB / 427.2 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.1047, allocations: 8 kB / 427.2 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.1048, allocations: 4 kB / 427.2 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.1048, allocations: 7.984 kB / 427.2 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.1048, allocations: 15.94 kB / 427.2 MB, free: 3.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.1051, allocations: 200.4 kB / 427.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1051, allocations: 0 / 427.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.1053, allocations: 31.94 kB / 427.4 MB, free: 3.105 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.001505/0.1068, allocations: 427.8 kB / 427.9 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002372/0.1071, allocations: 75.91 kB / 427.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1071, allocations: 0 / 427.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.463e-05/0.1071, allocations: 23.94 kB / 428 MB, free: 2.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.1076, allocations: 73.27 kB / 428 MB, free: 2.672 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/0.1082, allocations: 371.6 kB / 428.4 MB, free: 2.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003717/0.1086, allocations: 0.7397 MB / 429.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.1086, allocations: 19.44 kB / 429.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1086, allocations: 0 / 429.2 MB, free: 1.484 MB / 350.1 MB Notification: Performance of Templates: time 0.005444/0.1141, allocations: 2.817 MB / 432 MB, free: 14.69 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.363067468017107]