Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00151/0.00151, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001792/0.001792, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.2 MB / 255.1 MB, free: 15.22 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 374.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1114, allocations: 53.32 MB / 427.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003164/0.1145, allocations: 1.449 MB / 429.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003649/0.1149, allocations: 103.7 kB / 429.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.429e-05/0.115, allocations: 0 / 429.4 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.389e-05/0.115, allocations: 7.938 kB / 429.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.335e-05/0.115, allocations: 0 / 429.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002929/0.1153, allocations: 27.91 kB / 429.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.1154, allocations: 23.92 kB / 429.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1156, allocations: 8 kB / 429.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.289e-05/0.1156, allocations: 11.88 kB / 429.5 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.1157, allocations: 11.92 kB / 429.5 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.1157, allocations: 4 kB / 429.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.1157, allocations: 0 / 429.5 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.1157, allocations: 8 kB / 429.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.1158, allocations: 11.88 kB / 429.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.1159, allocations: 39.81 kB / 429.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1159, allocations: 0 / 429.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1159, allocations: 0 / 429.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1159, allocations: 0 / 429.5 MB, free: 2.785 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.0005447/0.1164, allocations: 343.4 kB / 429.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1165, allocations: 8.031 kB / 429.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.1165, allocations: 8.891 kB / 429.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002861/0.1168, allocations: 172.3 kB / 430 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.1168, allocations: 8.375 kB / 430.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.1168, allocations: 4.375 kB / 430.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.1171, allocations: 103.9 kB / 430.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1171, allocations: 192 / 430.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1172, allocations: 3.938 kB / 430.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1172, allocations: 3.984 kB / 430.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-05/0.1172, allocations: 23.98 kB / 430.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.1174, allocations: 161.6 kB / 430.3 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.1176, allocations: 54.48 kB / 430.4 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.392e-05/0.1177, allocations: 20.92 kB / 430.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.1177, allocations: 4 kB / 430.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1177, allocations: 34.56 kB / 430.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1177, allocations: 0 / 430.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002483/0.118, allocations: 69.61 kB / 430.5 MB, free: 1.605 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.118, allocations: 59.34 kB / 430.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.1181, allocations: 113.8 kB / 430.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1182, allocations: 29.7 kB / 430.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.1182, allocations: 80.14 kB / 430.8 MB, free: 1.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.1182, allocations: 15.92 kB / 430.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.1183, allocations: 13.72 kB / 430.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.1184, allocations: 314.8 kB / 431.1 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.1184, allocations: 4 kB / 431.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.1185, allocations: 31.42 kB / 431.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.383e-05/0.1185, allocations: 35.38 kB / 431.2 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1185, allocations: 4 kB / 431.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.642e-05/0.1186, allocations: 61.58 kB / 431.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.1186, allocations: 4 kB / 431.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.1187, allocations: 7.875 kB / 431.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.1187, allocations: 8.125 kB / 431.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.993e-05/0.1187, allocations: 7.938 kB / 431.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.1187, allocations: 0 / 431.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.01e-05/0.1188, allocations: 4 kB / 431.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1188, allocations: 0 / 431.3 MB, free: 0.75 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 9.563e-05/0.1189, allocations: 109.8 kB / 431.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.119, allocations: 57.67 kB / 431.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.119, allocations: 11.84 kB / 431.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.119, allocations: 4 kB / 431.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.119, allocations: 0 / 431.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.119, allocations: 0 / 431.5 MB, free: 0.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.1191, allocations: 161.6 kB / 431.6 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1191, allocations: 0 / 431.6 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.683e-05/0.1192, allocations: 15.94 kB / 431.7 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1192, allocations: 0 / 431.7 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.1192, allocations: 3.938 kB / 431.7 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1192, allocations: 256 / 431.7 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1192, allocations: 0 / 431.7 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1194, allocations: 93.38 kB / 431.8 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.1194, allocations: 85.11 kB / 431.8 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.1194, allocations: 7.922 kB / 431.8 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.393e-05/0.1195, allocations: 0 / 431.8 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-06/0.1195, allocations: 0 / 431.8 MB, free: 100 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1195, allocations: 4 kB / 431.8 MB, free: 96 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.3e-05/0.1195, allocations: 83.28 kB / 431.9 MB, free: 12 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1195, allocations: 0 / 431.9 MB, free: 12 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001932/0.1197, allocations: 11.94 kB / 431.9 MB, free: 0 / 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.0001669/0.1199, allocations: 103.2 kB / 432 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.12, allocations: 19.98 kB / 432.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.12, allocations: 4 kB / 432.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.12, allocations: 0 / 432.1 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.1203, allocations: 22.38 kB / 432.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.1206, allocations: 143.5 kB / 432.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.121, allocations: 0.6807 MB / 432.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.121, allocations: 7.438 kB / 432.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.121, allocations: 0 / 432.9 MB, free: 14.96 MB / 366.1 MB Notification: Performance of Templates: time 0.002172/0.1231, allocations: 0.5628 MB / 433.5 MB, free: 14.4 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.442525711841881]