Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 55.91 kB / 374.2 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.104, allocations: 53.32 MB / 427.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.003536/0.1075, allocations: 1.895 MB / 429.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.1097, allocations: 1.297 MB / 430.7 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1098, allocations: 7.938 kB / 430.7 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002851/0.1101, allocations: 63.67 kB / 430.7 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.1104, allocations: 135.4 kB / 430.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006027/0.111, allocations: 226.4 kB / 431.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.1113, allocations: 175.5 kB / 431.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.1114, allocations: 25.55 kB / 431.3 MB, free: 496 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.1115, allocations: 75.62 kB / 431.4 MB, free: 420 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.1116, allocations: 83.67 kB / 431.4 MB, free: 336 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.244e-05/0.1117, allocations: 12 kB / 431.5 MB, free: 324 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.1118, allocations: 75.88 kB / 431.5 MB, free: 248 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.585e-05/0.1119, allocations: 51.78 kB / 431.6 MB, free: 196 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.112, allocations: 75.48 kB / 431.7 MB, free: 120 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.1124, allocations: 250.9 kB / 431.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1124, allocations: 0 / 431.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1124, allocations: 3.938 kB / 431.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1124, allocations: 0 / 431.9 MB, free: 15.87 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007244/0.1131, allocations: 0.5387 MB / 432.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.1132, allocations: 16.03 kB / 432.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.559e-05/0.1132, allocations: 20.8 kB / 432.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.1136, allocations: 295.8 kB / 432.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1137, allocations: 8.359 kB / 432.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.1137, allocations: 12.12 kB / 432.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.114, allocations: 162.9 kB / 432.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.114, allocations: 0 / 432.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.114, allocations: 4 kB / 432.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.114, allocations: 0 / 432.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1142, allocations: 39.92 kB / 433 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.1148, allocations: 390.3 kB / 433.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.115, allocations: 107.9 kB / 433.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1151, allocations: 54.5 kB / 433.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.1152, allocations: 0 / 433.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.1153, allocations: 79.38 kB / 433.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.1153, allocations: 0 / 433.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000411/0.1157, allocations: 153.4 kB / 433.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/0.1159, allocations: 162.2 kB / 433.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004092/0.1163, allocations: 334.7 kB / 434.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.1163, allocations: 25.7 kB / 434.3 MB, free: 13.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.1164, allocations: 136 kB / 434.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.1165, allocations: 19.89 kB / 434.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.1165, allocations: 29.95 kB / 434.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1167, allocations: 338.8 kB / 434.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.296e-05/0.1167, allocations: 23.98 kB / 434.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1169, allocations: 86.78 kB / 434.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.117, allocations: 84.22 kB / 435 MB, free: 12.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.117, allocations: 7.938 kB / 435 MB, free: 12.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002633/0.1173, allocations: 117.5 kB / 435.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1173, allocations: 8 kB / 435.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1173, allocations: 128 / 435.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1173, allocations: 7.984 kB / 435.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1175, allocations: 19.94 kB / 435.1 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1175, allocations: 4 kB / 435.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.189e-05/0.1175, allocations: 20.17 kB / 435.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1176, allocations: 0 / 435.1 MB, free: 12.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,subSample1.y,subSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001484/0.1177, allocations: 149.8 kB / 435.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.1178, allocations: 81.44 kB / 435.4 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.349e-05/0.1179, allocations: 25.77 kB / 435.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1179, allocations: 7.938 kB / 435.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1179, allocations: 0 / 435.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.1179, allocations: 3.938 kB / 435.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.1183, allocations: 241.6 kB / 435.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.1183, allocations: 3.984 kB / 435.7 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.207e-05/0.1183, allocations: 12 kB / 435.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1183, allocations: 3.938 kB / 435.7 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1184, allocations: 4 kB / 435.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1184, allocations: 3.938 kB / 435.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1184, allocations: 0 / 435.7 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.1186, allocations: 174.6 kB / 435.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.1188, allocations: 116.9 kB / 436 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.1188, allocations: 4 kB / 436 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.1189, allocations: 0 / 436 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.1189, allocations: 11.98 kB / 436 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1189, allocations: 11.94 kB / 436 MB, free: 11.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.1192, allocations: 253.9 kB / 436.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1192, allocations: 0 / 436.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.1195, allocations: 31.94 kB / 436.3 MB, free: 11.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.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 (9): * Single equations (assignments): 7 * 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.001529/0.121, allocations: 421.3 kB / 436.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.1212, allocations: 72.09 kB / 436.7 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1212, allocations: 3.938 kB / 436.8 MB, free: 10.71 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/0.1213, allocations: 23.98 kB / 436.8 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000405/0.1217, allocations: 66.36 kB / 436.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006652/0.1224, allocations: 410.5 kB / 437.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1228, allocations: 0.7439 MB / 438 MB, free: 9.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.1228, allocations: 27.42 kB / 438 MB, free: 9.383 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1228, allocations: 0 / 438 MB, free: 9.383 MB / 366.1 MB Notification: Performance of Templates: time 0.005394/0.1282, allocations: 2.966 MB / 441 MB, free: 6.426 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.6323634879954625]