Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001386/0.001386, allocations: 119.4 kB / 18.41 MB, free: 4.648 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.001478/0.001478, allocations: 192.3 kB / 21.35 MB, free: 1.711 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.519/1.519, allocations: 222.9 MB / 247.1 MB, free: 4.191 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.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002669/0.002669, allocations: 47.92 kB / 358.7 MB, free: 8.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1907, allocations: 49.44 MB / 408.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.005476/0.1962, allocations: 1.458 MB / 409.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005594/0.1968, allocations: 99.61 kB / 409.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.197, allocations: 0 / 409.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.9e-05/0.1971, allocations: 0 / 409.7 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.1972, allocations: 7.938 kB / 409.7 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004056/0.1976, allocations: 19.91 kB / 409.7 MB, free: 5.227 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1977, allocations: 35.86 kB / 409.7 MB, free: 5.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.1979, allocations: 11.98 kB / 409.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.198, allocations: 7.938 kB / 409.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.248e-05/0.1981, allocations: 15.92 kB / 409.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.1982, allocations: 0 / 409.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/0.1982, allocations: 4 kB / 409.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.1982, allocations: 4 kB / 409.8 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.022e-05/0.1983, allocations: 15.92 kB / 409.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.1985, allocations: 27.84 kB / 409.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1985, allocations: 3.938 kB / 409.8 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.751e-06/0.1985, allocations: 7.984 kB / 409.8 MB, free: 5.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.1985, allocations: 3.938 kB / 409.8 MB, free: 5.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007716/0.1993, allocations: 339.4 kB / 410.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.1994, allocations: 12.03 kB / 410.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.1995, allocations: 0.9375 kB / 410.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.1999, allocations: 184.3 kB / 410.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.968e-05/0.2, allocations: 384 / 410.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.2, allocations: 4.375 kB / 410.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/0.2006, allocations: 111.8 kB / 410.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.2007, allocations: 192 / 410.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.2007, allocations: 7.938 kB / 410.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.2007, allocations: 4 kB / 410.5 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.2009, allocations: 15.98 kB / 410.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002873/0.2012, allocations: 157.7 kB / 410.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.2015, allocations: 58.48 kB / 410.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.2017, allocations: 24.92 kB / 410.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.2017, allocations: 0 / 410.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.57e-05/0.2018, allocations: 34.56 kB / 410.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.2018, allocations: 0 / 410.8 MB, free: 3.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000459/0.2023, allocations: 73.56 kB / 410.8 MB, free: 3.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.2024, allocations: 55.41 kB / 410.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.2026, allocations: 109.8 kB / 411 MB, free: 3.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.2026, allocations: 25.7 kB / 411 MB, free: 3.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.2027, allocations: 84.14 kB / 411.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.306e-05/0.2028, allocations: 0 / 411.1 MB, free: 3.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.2028, allocations: 25.7 kB / 411.1 MB, free: 3.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002597/0.2031, allocations: 310.8 kB / 411.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.649e-05/0.2031, allocations: 4 kB / 411.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/0.2032, allocations: 31.42 kB / 411.5 MB, free: 3.215 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.469e-05/0.2033, allocations: 39.38 kB / 411.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.2034, allocations: 0 / 411.5 MB, free: 3.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001714/0.2035, allocations: 53.62 kB / 411.6 MB, free: 3.105 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.2036, allocations: 4 kB / 411.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.2036, allocations: 3.938 kB / 411.6 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/0.2037, allocations: 4 kB / 411.6 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.2038, allocations: 7.938 kB / 411.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.2038, allocations: 8.062 kB / 411.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.247e-05/0.2039, allocations: 7.938 kB / 411.6 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.2039, allocations: 0 / 411.6 MB, free: 3.07 MB / 334.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 0.0001541/0.204, allocations: 113.8 kB / 411.7 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.2043, allocations: 57.91 kB / 411.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.485e-05/0.2043, allocations: 15.89 kB / 411.8 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.2044, allocations: 3.984 kB / 411.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2044, allocations: 3.938 kB / 411.8 MB, free: 2.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.2044, allocations: 4 kB / 411.8 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.2046, allocations: 157.7 kB / 411.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2046, allocations: 0 / 411.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.315e-05/0.2048, allocations: 8 kB / 411.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2048, allocations: 3.938 kB / 412 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.2048, allocations: 3.938 kB / 412 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2048, allocations: 0 / 412 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2048, allocations: 256 / 412 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.2051, allocations: 85.11 kB / 412 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.383e-05/0.2052, allocations: 85.06 kB / 412.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.2052, allocations: 7.938 kB / 412.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.2053, allocations: 7.984 kB / 412.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-06/0.2053, allocations: 0 / 412.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.2053, allocations: 4 kB / 412.1 MB, free: 2.41 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.298e-05/0.2055, allocations: 83.28 kB / 412.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2055, allocations: 0 / 412.2 MB, free: 2.328 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003424/0.2058, allocations: 4 kB / 412.2 MB, free: 2.324 MB / 334.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.0002096/0.206, allocations: 107.7 kB / 412.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.2063, allocations: 31.92 kB / 412.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2063, allocations: 0 / 412.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.2063, allocations: 0 / 412.4 MB, free: 2.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2067, allocations: 27.91 kB / 412.4 MB, free: 2.152 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005141/0.2072, allocations: 127.3 kB / 412.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.2078, allocations: 0.6886 MB / 413.2 MB, free: 1.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.2079, allocations: 11.42 kB / 413.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of SimCode: time 3.898e-06/0.2079, allocations: 0 / 413.2 MB, free: 1.27 MB / 334.1 MB Notification: Performance of Templates: time 0.003711/0.2116, allocations: 0.5547 MB / 413.8 MB, free: 0.7109 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.948480784078129]