Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001431/0.001431, allocations: 114.7 kB / 19.17 MB, free: 3.895 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.001578/0.001578, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.489/1.489, allocations: 230.4 MB / 255.4 MB, free: 15.01 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-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.83 kB / 374.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1184, allocations: 53.31 MB / 428.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003565/0.122, allocations: 1.482 MB / 429.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003603/0.1224, allocations: 95.73 kB / 429.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.1224, allocations: 3.938 kB / 429.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.1225, allocations: 0 / 429.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.008e-05/0.1225, allocations: 7.922 kB / 429.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.1228, allocations: 23.67 kB / 429.7 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.939e-05/0.1229, allocations: 27.86 kB / 429.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.123, allocations: 11.98 kB / 429.7 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.657e-05/0.1231, allocations: 15.92 kB / 429.7 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.1231, allocations: 7.938 kB / 429.7 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.1232, allocations: 8 kB / 429.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.388e-06/0.1232, allocations: 0 / 429.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.065e-05/0.1232, allocations: 4 kB / 429.8 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.1233, allocations: 19.86 kB / 429.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.1234, allocations: 31.83 kB / 429.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1234, allocations: 0 / 429.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1234, allocations: 0 / 429.8 MB, free: 2.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.411e-06/0.1234, allocations: 0 / 429.8 MB, free: 2.59 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.0005118/0.1239, allocations: 339.4 kB / 430.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1239, allocations: 12.03 kB / 430.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.124, allocations: 8.891 kB / 430.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.1243, allocations: 180.3 kB / 430.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1243, allocations: 384 / 430.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.1243, allocations: 8.375 kB / 430.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.1247, allocations: 99.88 kB / 430.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1247, allocations: 4.188 kB / 430.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.1247, allocations: 3.938 kB / 430.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1247, allocations: 0 / 430.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.436e-05/0.1248, allocations: 15.98 kB / 430.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.125, allocations: 161.6 kB / 430.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.1251, allocations: 54.53 kB / 430.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.306e-05/0.1252, allocations: 24.89 kB / 430.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.1252, allocations: 0 / 430.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.1253, allocations: 38.5 kB / 430.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1253, allocations: 0 / 430.7 MB, free: 1.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002522/0.1255, allocations: 73.78 kB / 430.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.1256, allocations: 51.41 kB / 430.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.204e-05/0.1257, allocations: 105.9 kB / 431 MB, free: 1.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.1257, allocations: 33.64 kB / 431 MB, free: 1.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.1257, allocations: 88.12 kB / 431.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.436e-06/0.1258, allocations: 0 / 431.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.1258, allocations: 13.72 kB / 431.1 MB, free: 1.086 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1259, allocations: 314.8 kB / 431.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.1259, allocations: 4 kB / 431.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.393e-05/0.126, allocations: 35.41 kB / 431.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.126, allocations: 39.38 kB / 431.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.126, allocations: 0 / 431.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001028/0.1261, allocations: 57.97 kB / 431.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.1262, allocations: 7.938 kB / 431.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1262, allocations: 11.92 kB / 431.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1262, allocations: 0 / 431.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.159e-05/0.1262, allocations: 12 kB / 431.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1263, allocations: 3.938 kB / 431.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.597e-05/0.1263, allocations: 3.953 kB / 431.6 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1263, allocations: 4 kB / 431.6 MB, free: 0.5625 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 9.755e-05/0.1264, allocations: 113.8 kB / 431.7 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.1265, allocations: 57.72 kB / 431.7 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.1265, allocations: 11.84 kB / 431.8 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1265, allocations: 0 / 431.8 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1265, allocations: 0 / 431.8 MB, free: 364 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.1265, allocations: 4 kB / 431.8 MB, free: 360 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.1267, allocations: 157.6 kB / 431.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1267, allocations: 4 kB / 431.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/0.1267, allocations: 4 kB / 431.9 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1267, allocations: 0 / 431.9 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1267, allocations: 7.938 kB / 431.9 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1267, allocations: 7.938 kB / 431.9 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1267, allocations: 0 / 431.9 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.1269, allocations: 85.06 kB / 432 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.127, allocations: 81.05 kB / 432.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.127, allocations: 7.922 kB / 432.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.587e-05/0.127, allocations: 4 kB / 432.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-06/0.127, allocations: 0 / 432.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.127, allocations: 8 kB / 432.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.677e-05/0.1271, allocations: 79.28 kB / 432.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1271, allocations: 0 / 432.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002086/0.1273, allocations: 4 kB / 432.2 MB, free: 15.82 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.00014/0.1274, allocations: 103.2 kB / 432.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.1276, allocations: 31.92 kB / 432.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1276, allocations: 0 / 432.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-07/0.1276, allocations: 4.25 kB / 432.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1278, allocations: 16 kB / 432.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.1282, allocations: 143.2 kB / 432.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.1285, allocations: 0.6807 MB / 433.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.1285, allocations: 7.438 kB / 433.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1285, allocations: 0 / 433.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of Templates: time 0.002365/0.1309, allocations: 0.5551 MB / 433.7 MB, free: 14.22 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.554666199954227]