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.001294/0.001294, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.001405/0.001405, allocations: 160.3 kB / 24.49 MB, free: 3.461 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.398/1.398, allocations: 173.4 MB / 201.1 MB, free: 12.72 MB / 190.1 MB " [Timeout remaining time 179] 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.001571/0.001571, allocations: 51.83 kB / 319.4 MB, free: 3.285 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0901/0.09167, allocations: 52.16 MB / 371.6 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003439/0.09511, allocations: 1.884 MB / 373.4 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.09718, allocations: 1.091 MB / 374.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.0973, allocations: 7.938 kB / 374.5 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.0976, allocations: 59.66 kB / 374.6 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.09789, allocations: 107.5 kB / 374.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007304/0.09862, allocations: 258 kB / 375 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002602/0.09888, allocations: 183.5 kB / 375.1 MB, free: 3.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.09899, allocations: 29.73 kB / 375.2 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.09911, allocations: 75.7 kB / 375.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.09925, allocations: 87.59 kB / 375.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.09927, allocations: 8 kB / 375.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.09945, allocations: 71.94 kB / 375.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.186e-05/0.09954, allocations: 51.78 kB / 375.5 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.897e-05/0.09963, allocations: 63.53 kB / 375.5 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.1, allocations: 239 kB / 375.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1, allocations: 0 / 375.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1, allocations: 0 / 375.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1, allocations: 0 / 375.8 MB, free: 3.18 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.000765/0.1008, allocations: 490.4 kB / 376.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.1008, allocations: 12.03 kB / 376.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/0.1009, allocations: 24.8 kB / 376.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.1013, allocations: 225.5 kB / 376.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1013, allocations: 4.375 kB / 376.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.1013, allocations: 12.12 kB / 376.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.1017, allocations: 213.1 kB / 376.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1017, allocations: 0 / 376.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1017, allocations: 0 / 376.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.1017, allocations: 4 kB / 376.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1019, allocations: 43.91 kB / 376.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.1024, allocations: 398.3 kB / 377.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.1027, allocations: 146.5 kB / 377.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.1028, allocations: 55.42 kB / 377.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1028, allocations: 8 kB / 377.4 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001879/0.103, allocations: 97.02 kB / 377.4 MB, free: 1.281 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.103, allocations: 4 kB / 377.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004443/0.1035, allocations: 177.4 kB / 377.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.1036, allocations: 158.2 kB / 377.8 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/0.1039, allocations: 330.2 kB / 378.1 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.104, allocations: 33.7 kB / 378.1 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1041, allocations: 128.4 kB / 378.3 MB, free: 412 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.1041, allocations: 23.91 kB / 378.3 MB, free: 388 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.048e-05/0.1042, allocations: 37.66 kB / 378.3 MB, free: 344 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1043, allocations: 334.8 kB / 378.6 MB, free: 0 / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.394e-05/0.1044, allocations: 31.98 kB / 378.7 MB, free: 15.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.1046, allocations: 142.2 kB / 378.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.1047, allocations: 101.1 kB / 378.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1047, allocations: 3.938 kB / 378.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002733/0.105, allocations: 141.4 kB / 379.1 MB, free: 15.53 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.105, allocations: 4 kB / 379.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.105, allocations: 4 kB / 379.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1051, allocations: 0 / 379.1 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.1052, allocations: 27.86 kB / 379.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1052, allocations: 8.156 kB / 379.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.29e-05/0.1053, allocations: 8 kB / 379.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1053, allocations: 4 kB / 379.1 MB, free: 15.47 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.000145/0.1054, allocations: 157.8 kB / 379.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.1055, allocations: 69.5 kB / 379.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.1058, allocations: 123.4 kB / 379.5 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.1058, allocations: 4.312 kB / 379.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1058, allocations: 0 / 379.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1058, allocations: 8.047 kB / 379.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002139/0.106, allocations: 193.1 kB / 379.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.106, allocations: 0 / 379.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-05/0.1061, allocations: 19.92 kB / 379.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1061, allocations: 4 kB / 379.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1061, allocations: 4 kB / 379.7 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1062, allocations: 4 kB / 379.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1062, allocations: 0 / 379.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.1065, allocations: 195.3 kB / 379.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.092e-05/0.1066, allocations: 35.84 kB / 379.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.1066, allocations: 12 kB / 379.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.1067, allocations: 7.984 kB / 379.9 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.1067, allocations: 11.98 kB / 379.9 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.1067, allocations: 4 kB / 379.9 MB, free: 14.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002616/0.107, allocations: 241.2 kB / 380.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.107, allocations: 0 / 380.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002874/0.1073, allocations: 39.92 kB / 380.2 MB, free: 14.28 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.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.001666/0.109, allocations: 460.7 kB / 380.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.1092, allocations: 91.78 kB / 380.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1092, allocations: 0 / 380.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.1093, allocations: 43.89 kB / 380.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.1098, allocations: 64.09 kB / 380.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000688/0.1104, allocations: 389.5 kB / 381.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.1106, allocations: 140.4 kB / 381.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.635e-05/0.1107, allocations: 29.77 kB / 381.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.1107, allocations: 32.48 kB / 381.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1107, allocations: 0 / 381.4 MB, free: 13.18 MB / 350.1 MB Notification: Performance of Templates: time 0.007613/0.1184, allocations: 3.077 MB / 384.5 MB, free: 10.15 MB / 350.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.276492720935494]