Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001245/0.001245, allocations: 115.5 kB / 18.45 MB, free: 4.602 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.001246/0.001246, allocations: 192.3 kB / 21.4 MB, free: 1.664 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.406/1.406, 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 51.92 kB / 366.8 MB, free: 452 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09971/0.1012, allocations: 52.13 MB / 418.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002665/0.1038, allocations: 1.437 MB / 420.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002773/0.1041, allocations: 103.6 kB / 420.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.1042, allocations: 0 / 420.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.1042, allocations: 3.938 kB / 420.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.811e-05/0.1043, allocations: 7.938 kB / 420.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.1045, allocations: 31.89 kB / 420.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 7.924e-05/0.1046, allocations: 27.92 kB / 420.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.186e-05/0.1047, allocations: 8 kB / 420.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.543e-05/0.1047, allocations: 11.92 kB / 420.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.935e-05/0.1047, allocations: 11.92 kB / 420.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1047, allocations: 4 kB / 420.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-06/0.1048, allocations: 4 kB / 420.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.1048, allocations: 0 / 420.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.387e-05/0.1048, allocations: 15.92 kB / 420.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.041e-05/0.1049, allocations: 31.78 kB / 420.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1049, allocations: 4 kB / 420.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1049, allocations: 0 / 420.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.1049, allocations: 4 kB / 420.6 MB, free: 10.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000417/0.1053, allocations: 343.3 kB / 421 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.1054, allocations: 11.89 kB / 421 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.1054, allocations: 4.938 kB / 421 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1056, allocations: 184.2 kB / 421.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.1056, allocations: 384 / 421.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.1056, allocations: 8.375 kB / 421.2 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.1059, allocations: 107.9 kB / 421.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.1059, allocations: 192 / 421.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.1059, allocations: 3.938 kB / 421.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-06/0.1059, allocations: 0 / 421.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.085e-05/0.106, allocations: 23.98 kB / 421.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001524/0.1062, allocations: 153.7 kB / 421.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1063, allocations: 54.48 kB / 421.5 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.177e-05/0.1064, allocations: 24.92 kB / 421.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1064, allocations: 0 / 421.5 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.1064, allocations: 34.56 kB / 421.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.1064, allocations: 0 / 421.6 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002131/0.1066, allocations: 73.56 kB / 421.6 MB, free: 9.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.1067, allocations: 59.34 kB / 421.7 MB, free: 9.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.44e-05/0.1068, allocations: 109.8 kB / 421.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1068, allocations: 25.7 kB / 421.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.1068, allocations: 84.14 kB / 421.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.296e-06/0.1069, allocations: 3.984 kB / 421.9 MB, free: 9.012 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.1069, allocations: 21.72 kB / 421.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.107, allocations: 310.8 kB / 422.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.15e-05/0.107, allocations: 4 kB / 422.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.198e-05/0.1071, allocations: 31.42 kB / 422.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.816e-05/0.1071, allocations: 43.38 kB / 422.3 MB, free: 8.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1071, allocations: 3.938 kB / 422.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.481e-05/0.1072, allocations: 53.62 kB / 422.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1072, allocations: 4 kB / 422.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1072, allocations: 3.938 kB / 422.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1072, allocations: 4 kB / 422.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.876e-05/0.1073, allocations: 12.06 kB / 422.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.1073, allocations: 4 kB / 422.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.1073, allocations: 0 / 422.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.176e-06/0.1073, allocations: 0 / 422.4 MB, free: 8.48 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.697e-05/0.1074, allocations: 117.8 kB / 422.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.1075, allocations: 57.92 kB / 422.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.1075, allocations: 15.88 kB / 422.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.1075, allocations: 256 / 422.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1075, allocations: 0 / 422.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1075, allocations: 11.94 kB / 422.6 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.1077, allocations: 161.6 kB / 422.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1077, allocations: 0 / 422.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-05/0.1077, allocations: 11.94 kB / 422.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1077, allocations: 0 / 422.8 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1077, allocations: 3.938 kB / 422.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1077, allocations: 0 / 422.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1077, allocations: 4 kB / 422.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.1079, allocations: 85.11 kB / 422.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.1079, allocations: 81.06 kB / 422.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.1079, allocations: 7.922 kB / 423 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.474e-05/0.1079, allocations: 4 kB / 423 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-06/0.1079, allocations: 0 / 423 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.1079, allocations: 0 / 423 MB, free: 7.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.078e-05/0.108, allocations: 83.28 kB / 423 MB, free: 7.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.108, allocations: 0 / 423 MB, free: 7.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001778/0.1082, allocations: 4 kB / 423 MB, free: 7.734 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001099/0.1083, allocations: 115.1 kB / 423.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.1084, allocations: 23.98 kB / 423.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1084, allocations: 0 / 423.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.1084, allocations: 0 / 423.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.1086, allocations: 28.19 kB / 423.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002717/0.1089, allocations: 135.5 kB / 423.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.1092, allocations: 0.6883 MB / 424 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.303e-05/0.1092, allocations: 11.44 kB / 424 MB, free: 6.676 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1092, allocations: 0 / 424 MB, free: 6.676 MB / 350.1 MB Notification: Performance of Templates: time 0.001873/0.1111, allocations: 0.555 MB / 424.6 MB, free: 6.117 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.212640924844891]