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.001675/0.001675, allocations: 79.67 kB / 21.25 MB, free: 0.5469 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.001975/0.001975, allocations: 158.8 kB / 24.5 MB, free: 3.719 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.455/1.455, allocations: 177.1 MB / 204.7 MB, free: 8.953 MB / 190.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.00203/0.00203, allocations: 61.75 kB / 325.5 MB, free: 188 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1262, allocations: 53.38 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.003548/0.1298, allocations: 1.494 MB / 380.4 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003342/0.1301, allocations: 95.62 kB / 380.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.387e-05/0.1302, allocations: 0 / 380.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.488e-05/0.1302, allocations: 3.938 kB / 380.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.03e-05/0.1303, allocations: 15.92 kB / 380.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.1305, allocations: 23.55 kB / 380.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.1306, allocations: 23.92 kB / 380.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.1307, allocations: 11.98 kB / 380.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.1308, allocations: 11.92 kB / 380.6 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.1308, allocations: 11.94 kB / 380.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.1309, allocations: 0 / 380.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.386e-05/0.1309, allocations: 4 kB / 380.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.1309, allocations: 0 / 380.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.343e-05/0.1309, allocations: 19.92 kB / 380.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1311, allocations: 35.77 kB / 380.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1311, allocations: 4 kB / 380.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1311, allocations: 0 / 380.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.1311, allocations: 0 / 380.7 MB, free: 13.71 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.0005824/0.1317, allocations: 262.3 kB / 380.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.1317, allocations: 12.03 kB / 380.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.1318, allocations: 4.891 kB / 380.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003206/0.1321, allocations: 114.5 kB / 381 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1321, allocations: 4.375 kB / 381 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.1321, allocations: 8.312 kB / 381.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.1326, allocations: 107.9 kB / 381.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1326, allocations: 192 / 381.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.1326, allocations: 7.938 kB / 381.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.1326, allocations: 0 / 381.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.676e-05/0.1327, allocations: 23.91 kB / 381.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.133, allocations: 105.3 kB / 381.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1332, allocations: 54.55 kB / 381.4 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.997e-05/0.1333, allocations: 24.92 kB / 381.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.1333, allocations: 0 / 381.4 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.1333, allocations: 30.56 kB / 381.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.1333, allocations: 0 / 381.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002837/0.1336, allocations: 77.55 kB / 381.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.1337, allocations: 55.39 kB / 381.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1338, allocations: 109.8 kB / 381.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001537/0.134, allocations: 25.7 kB / 381.7 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.134, allocations: 88.14 kB / 381.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.134, allocations: 7.984 kB / 381.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.08e-05/0.1341, allocations: 13.72 kB / 381.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1342, allocations: 314.8 kB / 382.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.1342, allocations: 4 kB / 382.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-05/0.1343, allocations: 35.42 kB / 382.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.591e-05/0.1344, allocations: 31.38 kB / 382.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1344, allocations: 8 kB / 382.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.768e-05/0.1345, allocations: 53.56 kB / 382.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1345, allocations: 8 kB / 382.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1345, allocations: 0 / 382.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.1345, allocations: 3.938 kB / 382.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.135e-05/0.1346, allocations: 8 kB / 382.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.1346, allocations: 0 / 382.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.1346, allocations: 11.89 kB / 382.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.1346, allocations: 0 / 382.2 MB, free: 11.93 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 0.0001123/0.1347, allocations: 118 kB / 382.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.1348, allocations: 57.61 kB / 382.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.611e-05/0.1349, allocations: 12 kB / 382.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1349, allocations: 3.938 kB / 382.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1349, allocations: 3.938 kB / 382.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1349, allocations: 0 / 382.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.135, allocations: 105.3 kB / 382.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1351, allocations: 0 / 382.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.029e-05/0.1351, allocations: 8 kB / 382.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1351, allocations: 4 kB / 382.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.1351, allocations: 3.984 kB / 382.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1351, allocations: 0 / 382.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1351, allocations: 3.938 kB / 382.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.1353, allocations: 85.41 kB / 382.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.288e-05/0.1353, allocations: 8.016 kB / 382.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1353, allocations: 3.938 kB / 382.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.551e-05/0.1353, allocations: 4 kB / 382.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.117e-06/0.1353, allocations: 3.938 kB / 382.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.1353, allocations: 256 / 382.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.257e-05/0.1354, allocations: 91.28 kB / 382.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1354, allocations: 0 / 382.7 MB, free: 11.35 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000214/0.1356, allocations: 7.984 kB / 382.8 MB, free: 11.34 MB / 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: 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.0001158/0.1357, allocations: 95.25 kB / 382.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.1358, allocations: 23.92 kB / 382.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1358, allocations: 3.938 kB / 382.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.02e-07/0.1358, allocations: 0 / 382.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.1361, allocations: 20.23 kB / 382.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.1364, allocations: 125.6 kB / 383 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.137e-05/0.1365, allocations: 63.34 kB / 383.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.455e-05/0.1365, allocations: 0 / 383.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.1365, allocations: 12.5 kB / 383.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1365, allocations: 0 / 383.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of Templates: time 0.002871/0.1394, allocations: 321.8 kB / 383.4 MB, free: 10.64 MB / 350.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 -s ida -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: 4.4233080559642985]