Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.001747/0.001747, allocations: 115.4 kB / 18.45 MB, free: 4.562 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.002223/0.002223, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.482/1.482, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 43.94 kB / 374.1 MB, free: 9.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1064, allocations: 53.34 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.002986/0.1094, allocations: 1.455 MB / 428.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003205/0.1097, allocations: 87.75 kB / 429 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.1098, allocations: 7.938 kB / 429 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.957e-05/0.1098, allocations: 0 / 429 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.622e-05/0.1099, allocations: 3.938 kB / 429 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1101, allocations: 27.91 kB / 429.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.411e-05/0.1102, allocations: 23.92 kB / 429.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.1103, allocations: 7.984 kB / 429.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.601e-05/0.1103, allocations: 11.94 kB / 429.1 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.1104, allocations: 15.92 kB / 429.1 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1104, allocations: 4 kB / 429.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-06/0.1104, allocations: 4 kB / 429.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.1104, allocations: 3.984 kB / 429.1 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.1105, allocations: 15.88 kB / 429.1 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.1106, allocations: 31.84 kB / 429.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1106, allocations: 0 / 429.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1106, allocations: 0 / 429.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1106, allocations: 0 / 429.2 MB, free: 2.57 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.0004461/0.111, allocations: 339.4 kB / 429.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1111, allocations: 19.97 kB / 429.5 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.1111, allocations: 4.891 kB / 429.5 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.1113, allocations: 184.3 kB / 429.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.1113, allocations: 384 / 429.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/0.1113, allocations: 384 / 429.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.1117, allocations: 107.9 kB / 429.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1117, allocations: 192 / 429.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.1117, allocations: 3.938 kB / 429.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1117, allocations: 7.984 kB / 429.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.079e-05/0.1118, allocations: 11.98 kB / 429.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001569/0.1119, allocations: 165.6 kB / 430 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.1121, allocations: 58.52 kB / 430.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.232e-05/0.1122, allocations: 16.86 kB / 430.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1122, allocations: 0 / 430.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.212e-05/0.1122, allocations: 42.59 kB / 430.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.1122, allocations: 0 / 430.1 MB, free: 1.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000227/0.1124, allocations: 69.61 kB / 430.2 MB, free: 1.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.1125, allocations: 51.41 kB / 430.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.01e-05/0.1126, allocations: 113.8 kB / 430.3 MB, free: 1.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1126, allocations: 29.64 kB / 430.4 MB, free: 1.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.1127, allocations: 84.14 kB / 430.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.246e-06/0.1127, allocations: 7.938 kB / 430.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.1127, allocations: 17.72 kB / 430.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.1128, allocations: 314.8 kB / 430.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.1129, allocations: 0 / 430.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.1129, allocations: 31.44 kB / 430.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.548e-05/0.1129, allocations: 39.38 kB / 430.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1129, allocations: 0 / 430.9 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.822e-05/0.113, allocations: 61.58 kB / 430.9 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.113, allocations: 8 kB / 430.9 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1131, allocations: 3.938 kB / 430.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1131, allocations: 0 / 430.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.1131, allocations: 11.98 kB / 430.9 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1131, allocations: 3.938 kB / 430.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.1132, allocations: 0 / 430.9 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.1132, allocations: 4.25 kB / 431 MB, free: 0.5391 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.846e-05/0.1133, allocations: 122 kB / 431.1 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.1134, allocations: 49.69 kB / 431.1 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.1134, allocations: 15.83 kB / 431.1 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1134, allocations: 4 kB / 431.1 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1134, allocations: 0 / 431.1 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1134, allocations: 0 / 431.1 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.1135, allocations: 161.5 kB / 431.3 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1136, allocations: 0 / 431.3 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.1136, allocations: 7.984 kB / 431.3 MB, free: 112 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1136, allocations: 4 kB / 431.3 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1136, allocations: 7.938 kB / 431.3 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1136, allocations: 3.938 kB / 431.3 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1136, allocations: 0 / 431.3 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.1138, allocations: 89.38 kB / 431.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.1138, allocations: 77.11 kB / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.1138, allocations: 7.938 kB / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.467e-05/0.1139, allocations: 0 / 431.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-06/0.1139, allocations: 4 kB / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.1139, allocations: 0 / 431.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.568e-05/0.1139, allocations: 91.27 kB / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1139, allocations: 0 / 431.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001848/0.1141, allocations: 3.938 kB / 431.6 MB, free: 15.79 MB / 366.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.0001119/0.1142, allocations: 99.25 kB / 431.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000114/0.1143, allocations: 23.92 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.1143, allocations: 4.25 kB / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.61e-07/0.1143, allocations: 0 / 431.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.1146, allocations: 22.23 kB / 431.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002987/0.1149, allocations: 143.2 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.1152, allocations: 0.6807 MB / 432.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.1152, allocations: 7.438 kB / 432.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1152, allocations: 0 / 432.6 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Templates: time 0.002019/0.1172, allocations: 0.5703 MB / 433.1 MB, free: 14.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.542493444023421]