Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001966/0.001966, allocations: 111.7 kB / 19.17 MB, free: 3.871 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.002494/0.002494, allocations: 205 kB / 22.12 MB, free: 0.9219 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.562/1.562, allocations: 230.2 MB / 255.2 MB, free: 15.23 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.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 67.89 kB / 374.6 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09845/0.1005, allocations: 53.31 MB / 427.9 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.002857/0.1034, allocations: 1.48 MB / 429.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002917/0.1036, allocations: 95.69 kB / 429.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.1037, allocations: 4 kB / 429.5 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.471e-05/0.1037, allocations: 3.938 kB / 429.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.501e-05/0.1038, allocations: 3.938 kB / 429.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.104, allocations: 31.95 kB / 429.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.224e-05/0.1041, allocations: 19.92 kB / 429.5 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.1042, allocations: 11.98 kB / 429.5 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.033e-05/0.1042, allocations: 11.94 kB / 429.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.739e-05/0.1043, allocations: 7.938 kB / 429.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.1043, allocations: 3.938 kB / 429.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.494e-05/0.1043, allocations: 8 kB / 429.6 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.1043, allocations: 11.97 kB / 429.6 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.686e-05/0.1044, allocations: 15.88 kB / 429.6 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 9.093e-05/0.1044, allocations: 27.84 kB / 429.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.1044, allocations: 0 / 429.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1044, allocations: 0 / 429.6 MB, free: 2.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1045, allocations: 3.938 kB / 429.6 MB, free: 2.676 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.00046/0.1049, allocations: 343.4 kB / 430 MB, free: 2.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.105, allocations: 12.03 kB / 430 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.105, allocations: 4.891 kB / 430 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.1052, allocations: 176.4 kB / 430.2 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1052, allocations: 4.375 kB / 430.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.1053, allocations: 384 / 430.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.1056, allocations: 107.8 kB / 430.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1056, allocations: 4.188 kB / 430.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.1056, allocations: 7.938 kB / 430.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1056, allocations: 0 / 430.3 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.079e-05/0.1057, allocations: 15.98 kB / 430.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.1058, allocations: 165.5 kB / 430.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.106, allocations: 54.58 kB / 430.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/0.1061, allocations: 20.86 kB / 430.5 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.1061, allocations: 4.031 kB / 430.5 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.1061, allocations: 38.5 kB / 430.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.1061, allocations: 0 / 430.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002368/0.1063, allocations: 73.55 kB / 430.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.1064, allocations: 55.41 kB / 430.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.676e-05/0.1065, allocations: 105.8 kB / 430.8 MB, free: 1.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1065, allocations: 29.7 kB / 430.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.1065, allocations: 80.14 kB / 430.9 MB, free: 1.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.737e-06/0.1066, allocations: 4 kB / 430.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.1066, allocations: 13.72 kB / 430.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1067, allocations: 322.8 kB / 431.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.1067, allocations: 0 / 431.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.1068, allocations: 27.44 kB / 431.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.642e-05/0.1068, allocations: 39.38 kB / 431.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1068, allocations: 0 / 431.3 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.429e-05/0.1069, allocations: 53.62 kB / 431.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1069, allocations: 10.47 kB / 431.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.1069, allocations: 11.88 kB / 431.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.107, allocations: 0 / 431.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.779e-05/0.107, allocations: 4 kB / 431.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.107, allocations: 11.92 kB / 431.4 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.303e-05/0.107, allocations: 3.953 kB / 431.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.107, allocations: 8 kB / 431.4 MB, free: 0.6484 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: 0 () * 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.057e-05/0.1071, allocations: 105.8 kB / 431.5 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.1073, allocations: 65.95 kB / 431.6 MB, free: 476 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.145e-05/0.1073, allocations: 15.77 kB / 431.6 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1073, allocations: 0 / 431.6 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.1073, allocations: 0 / 431.6 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1073, allocations: 0 / 431.6 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.1075, allocations: 157.9 kB / 431.7 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1075, allocations: 4 kB / 431.7 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.1075, allocations: 11.98 kB / 431.8 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1075, allocations: 0 / 431.8 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1075, allocations: 3.938 kB / 431.8 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1075, allocations: 4 kB / 431.8 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1075, allocations: 4 kB / 431.8 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.1077, allocations: 85.06 kB / 431.9 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.1077, allocations: 81.05 kB / 431.9 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.1078, allocations: 3.938 kB / 431.9 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.21e-05/0.1078, allocations: 8.047 kB / 431.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.215e-06/0.1078, allocations: 0 / 431.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1078, allocations: 0 / 431.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.125e-05/0.1079, allocations: 91.16 kB / 432 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1079, allocations: 0 / 432 MB, free: 15.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002042/0.1081, allocations: 8 kB / 432 MB, free: 15.9 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: 0 () * 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.0001411/0.1082, allocations: 95.78 kB / 432.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.1084, allocations: 27.98 kB / 432.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1084, allocations: 0 / 432.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.619e-06/0.1084, allocations: 4.188 kB / 432.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.1086, allocations: 26.56 kB / 432.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.109, allocations: 135.3 kB / 432.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.1093, allocations: 0.6807 MB / 433 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.1093, allocations: 11.44 kB / 433 MB, free: 14.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1093, allocations: 0 / 433 MB, free: 14.86 MB / 366.1 MB Notification: Performance of Templates: time 0.002185/0.1115, allocations: 0.5472 MB / 433.6 MB, free: 14.31 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.6886788388947025]