Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.001316/0.001316, allocations: 77.78 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.001679/0.001679, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.568/1.568, allocations: 177.1 MB / 204.7 MB, free: 8.977 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 65.39 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1248, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002763/0.1275, allocations: 1.475 MB / 380.4 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001968/0.1277, allocations: 39.78 kB / 380.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.226e-05/0.1278, allocations: 0 / 380.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.1278, allocations: 3.938 kB / 380.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.1279, allocations: 11.92 kB / 380.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1281, allocations: 15.97 kB / 380.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.605e-05/0.1282, allocations: 31.88 kB / 380.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1283, allocations: 11.98 kB / 380.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.671e-05/0.1284, allocations: 11.98 kB / 380.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.73e-05/0.1284, allocations: 15.92 kB / 380.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.1284, allocations: 4 kB / 380.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.666e-06/0.1285, allocations: 3.938 kB / 380.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.721e-05/0.1285, allocations: 4 kB / 380.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.194e-05/0.1285, allocations: 15.92 kB / 380.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.1286, allocations: 31.83 kB / 380.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.1286, allocations: 0 / 380.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1286, allocations: 4 kB / 380.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1286, allocations: 0 / 380.6 MB, free: 13.8 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.000466/0.1291, allocations: 270.3 kB / 380.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1291, allocations: 11.98 kB / 380.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.1292, allocations: 8.891 kB / 380.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.1294, allocations: 118.5 kB / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.1294, allocations: 4.375 kB / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-06/0.1294, allocations: 384 / 381 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003664/0.1298, allocations: 123.8 kB / 381.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1298, allocations: 4.188 kB / 381.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1298, allocations: 3.938 kB / 381.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1298, allocations: 0 / 381.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.1299, allocations: 23.98 kB / 381.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.1301, allocations: 109.3 kB / 381.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1303, allocations: 58.48 kB / 381.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.159e-05/0.1303, allocations: 24.92 kB / 381.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.1303, allocations: 0 / 381.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1304, allocations: 30.56 kB / 381.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1304, allocations: 0 / 381.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002818/0.1307, allocations: 85.59 kB / 381.4 MB, free: 12.81 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/0.1307, allocations: 59.59 kB / 381.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.1308, allocations: 105.8 kB / 381.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1308, allocations: 25.7 kB / 381.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.1309, allocations: 80.14 kB / 381.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.474e-05/0.1309, allocations: 7.922 kB / 381.7 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.1309, allocations: 17.72 kB / 381.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1311, allocations: 318.8 kB / 382 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.1311, allocations: 3.938 kB / 382.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.165e-05/0.1311, allocations: 39.67 kB / 382.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.402e-05/0.1312, allocations: 39.38 kB / 382.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1312, allocations: 0 / 382.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.016e-05/0.1313, allocations: 65.56 kB / 382.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.1313, allocations: 4 kB / 382.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1313, allocations: 4 kB / 382.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1313, allocations: 3.938 kB / 382.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.346e-05/0.1313, allocations: 12.12 kB / 382.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.1313, allocations: 7.938 kB / 382.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.839e-05/0.1314, allocations: 3.938 kB / 382.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1314, allocations: 4 kB / 382.2 MB, free: 11.95 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: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.996e-05/0.1315, allocations: 113.8 kB / 382.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.1316, allocations: 61.67 kB / 382.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.1316, allocations: 12 kB / 382.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1316, allocations: 3.938 kB / 382.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1317, allocations: 0 / 382.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.1317, allocations: 0 / 382.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.473e-05/0.1317, allocations: 105.3 kB / 382.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1317, allocations: 4 kB / 382.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.1318, allocations: 8 kB / 382.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1318, allocations: 0 / 382.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.198e-06/0.1318, allocations: 3.984 kB / 382.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1318, allocations: 3.938 kB / 382.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.1318, allocations: 3.938 kB / 382.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.132, allocations: 89.11 kB / 382.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.132, allocations: 15.89 kB / 382.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.132, allocations: 4 kB / 382.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.593e-05/0.1321, allocations: 3.984 kB / 382.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-06/0.1321, allocations: 7.938 kB / 382.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1321, allocations: 4 kB / 382.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.863e-05/0.1321, allocations: 87.41 kB / 382.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1321, allocations: 0 / 382.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0001836/0.1323, allocations: 4 kB / 382.8 MB, free: 11.35 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: 1 (step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * 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.0001112/0.1324, allocations: 99.23 kB / 382.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000144/0.1326, allocations: 27.92 kB / 382.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.1326, allocations: 0 / 382.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.71e-07/0.1326, allocations: 256 / 382.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1329, allocations: 31.95 kB / 382.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.1332, allocations: 125.5 kB / 383 MB, free: 11.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.843e-05/0.1332, allocations: 67.28 kB / 383.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.782e-05/0.1333, allocations: 0 / 383.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.1333, allocations: 16.44 kB / 383.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1333, allocations: 0 / 383.1 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Templates: time 0.002919/0.1362, allocations: 464.9 kB / 383.6 MB, free: 10.5 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.4155085569946095]