Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.001216/0.001216, allocations: 120.8 kB / 18.46 MB, free: 4.473 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.001247/0.001247, allocations: 190.9 kB / 21.4 MB, free: 1.535 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.37/1.37, allocations: 225.6 MB / 249.8 MB, free: 3.719 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.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 51.92 kB / 366.8 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09471/0.09616, allocations: 52.14 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003477/0.09964, allocations: 1.907 MB / 420.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.1017, allocations: 1.169 MB / 422 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.1018, allocations: 11.94 kB / 422 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.1021, allocations: 67.66 kB / 422.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.1024, allocations: 87.66 kB / 422.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008158/0.1032, allocations: 266.1 kB / 422.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002781/0.1035, allocations: 179.6 kB / 422.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1036, allocations: 21.55 kB / 422.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1037, allocations: 83.62 kB / 422.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1039, allocations: 83.61 kB / 422.8 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.1039, allocations: 12 kB / 422.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.1041, allocations: 67.94 kB / 422.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.369e-05/0.1042, allocations: 51.78 kB / 422.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.568e-05/0.1043, allocations: 83.41 kB / 423 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.1046, allocations: 243 kB / 423.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1046, allocations: 0 / 423.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1046, allocations: 4 kB / 423.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1046, allocations: 0 / 423.3 MB, free: 7.801 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.0007617/0.1054, allocations: 0.5464 MB / 423.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1054, allocations: 11.89 kB / 423.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.966e-05/0.1055, allocations: 28.75 kB / 423.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/0.106, allocations: 287.8 kB / 424.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.106, allocations: 4.375 kB / 424.1 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.106, allocations: 16.12 kB / 424.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.1064, allocations: 174.5 kB / 424.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.1064, allocations: 0 / 424.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.1064, allocations: 8 kB / 424.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1064, allocations: 4 kB / 424.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.1066, allocations: 39.91 kB / 424.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.1072, allocations: 470.5 kB / 424.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.1074, allocations: 138.5 kB / 425 MB, free: 5.879 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1076, allocations: 63.36 kB / 425 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1076, allocations: 3.984 kB / 425 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.1078, allocations: 93.03 kB / 425.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.1078, allocations: 4 kB / 425.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004344/0.1082, allocations: 173.3 kB / 425.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.1083, allocations: 187.9 kB / 425.5 MB, free: 5.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.1087, allocations: 330.6 kB / 425.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1087, allocations: 33.7 kB / 425.8 MB, free: 4.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.1088, allocations: 128.5 kB / 426 MB, free: 4.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.1089, allocations: 20.22 kB / 426 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.1089, allocations: 41.66 kB / 426 MB, free: 4.715 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1091, allocations: 342.8 kB / 426.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.727e-05/0.1092, allocations: 27.98 kB / 426.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000136/0.1093, allocations: 91.66 kB / 426.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.1095, allocations: 101.3 kB / 426.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1095, allocations: 0 / 426.6 MB, free: 4.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002819/0.1098, allocations: 145.4 kB / 426.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1098, allocations: 4 kB / 426.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1098, allocations: 0 / 426.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1098, allocations: 4 kB / 426.7 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.11, allocations: 23.92 kB / 426.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.11, allocations: 7.984 kB / 426.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.182e-05/0.1101, allocations: 11.92 kB / 426.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1101, allocations: 4 kB / 426.8 MB, free: 3.906 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,shiftSample1.y,hold1.y,hold1.u,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.0001566/0.1102, allocations: 158.5 kB / 426.9 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1103, allocations: 77.48 kB / 427 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.1104, allocations: 29.7 kB / 427 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1104, allocations: 0 / 427 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1104, allocations: 0 / 427 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1104, allocations: 7.938 kB / 427 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.1107, allocations: 245.5 kB / 427.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1107, allocations: 0 / 427.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.27e-05/0.1108, allocations: 12 kB / 427.3 MB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1108, allocations: 8.062 kB / 427.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.1108, allocations: 11.86 kB / 427.3 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.1108, allocations: 4 kB / 427.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1108, allocations: 0 / 427.3 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.1111, allocations: 183.5 kB / 427.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.1112, allocations: 120.9 kB / 427.6 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.1112, allocations: 4 kB / 427.6 MB, free: 2.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.1113, allocations: 8.062 kB / 427.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.1114, allocations: 23.8 kB / 427.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.1114, allocations: 4 kB / 427.6 MB, free: 2.914 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002539/0.1116, allocations: 245.9 kB / 427.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1116, allocations: 0 / 427.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000278/0.1119, allocations: 35.94 kB / 427.9 MB, free: 2.637 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,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.001473/0.1134, allocations: 425.1 kB / 428.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.1136, allocations: 79.84 kB / 428.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.1136, allocations: 4 kB / 428.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.982e-05/0.1137, allocations: 31.92 kB / 428.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.1142, allocations: 71.89 kB / 428.5 MB, free: 2.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000675/0.1149, allocations: 419.3 kB / 428.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.1152, allocations: 0.7437 MB / 429.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.705e-05/0.1153, allocations: 19.44 kB / 429.7 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1153, allocations: 4 kB / 429.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of Templates: time 0.005491/0.1208, allocations: 3.001 MB / 432.7 MB, free: 13.96 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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: 6.911567436996847]