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.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.001873/0.001873, allocations: 113.8 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.002411/0.002411, allocations: 212.9 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.502/1.502, allocations: 230.4 MB / 255.4 MB, free: 15 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [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.002099/0.002099, allocations: 67.89 kB / 374.8 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1247, allocations: 53.31 MB / 428.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.003048/0.1278, allocations: 1.459 MB / 429.5 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002304/0.128, allocations: 31.91 kB / 429.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.921e-05/0.1281, allocations: 0 / 429.6 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.63e-05/0.1281, allocations: 7.938 kB / 429.6 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.603e-05/0.1282, allocations: 3.938 kB / 429.6 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.1284, allocations: 26.97 kB / 429.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1285, allocations: 27.92 kB / 429.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1286, allocations: 11.98 kB / 429.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.101e-05/0.1287, allocations: 15.92 kB / 429.6 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.1287, allocations: 15.92 kB / 429.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.1288, allocations: 0 / 429.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.1288, allocations: 4 kB / 429.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.804e-05/0.1288, allocations: 4 kB / 429.7 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.1288, allocations: 23.81 kB / 429.7 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.1289, allocations: 35.81 kB / 429.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1289, allocations: 0 / 429.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.129, allocations: 0 / 429.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.609e-06/0.129, allocations: 0 / 429.7 MB, free: 2.664 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.0005068/0.1295, allocations: 345.5 kB / 430.1 MB, free: 2.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1295, allocations: 8.031 kB / 430.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.1295, allocations: 12.88 kB / 430.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.1298, allocations: 172.3 kB / 430.3 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.1298, allocations: 16.31 kB / 430.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.1299, allocations: 384 / 430.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003552/0.1302, allocations: 119.8 kB / 430.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1302, allocations: 192 / 430.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1302, allocations: 3.938 kB / 430.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1302, allocations: 0 / 430.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.1304, allocations: 27.97 kB / 430.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.1305, allocations: 157.7 kB / 430.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.1307, allocations: 54.48 kB / 430.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.721e-05/0.1308, allocations: 28.86 kB / 430.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.1308, allocations: 4 kB / 430.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.1308, allocations: 30.56 kB / 430.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1308, allocations: 0 / 430.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002798/0.1311, allocations: 89.55 kB / 430.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.1312, allocations: 51.41 kB / 430.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.964e-05/0.1313, allocations: 109.8 kB / 430.9 MB, free: 1.262 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1313, allocations: 25.7 kB / 431 MB, free: 1.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.1313, allocations: 84.14 kB / 431 MB, free: 1.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.1313, allocations: 7.984 kB / 431 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.1314, allocations: 17.72 kB / 431.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1315, allocations: 310.8 kB / 431.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.1315, allocations: 12 kB / 431.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.299e-05/0.1316, allocations: 31.42 kB / 431.4 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.617e-05/0.1316, allocations: 35.38 kB / 431.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1316, allocations: 4 kB / 431.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.651e-05/0.1317, allocations: 61.58 kB / 431.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1317, allocations: 4 kB / 431.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1317, allocations: 3.938 kB / 431.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1317, allocations: 4 kB / 431.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.531e-05/0.1318, allocations: 8 kB / 431.5 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1318, allocations: 3.938 kB / 431.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.798e-05/0.1318, allocations: 0 / 431.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1318, allocations: 12.48 kB / 431.5 MB, free: 0.5938 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 0.0001033/0.1319, allocations: 117.8 kB / 431.7 MB, free: 480 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.1321, allocations: 65.67 kB / 431.7 MB, free: 408 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.1321, allocations: 8.078 kB / 431.7 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1321, allocations: 4 kB / 431.7 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.1321, allocations: 3.984 kB / 431.7 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.1321, allocations: 0 / 431.7 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.1323, allocations: 165.5 kB / 431.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1323, allocations: 0 / 431.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.616e-05/0.1323, allocations: 11.94 kB / 431.9 MB, free: 152 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1323, allocations: 4 kB / 431.9 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1323, allocations: 7.938 kB / 431.9 MB, free: 140 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1323, allocations: 3.984 kB / 431.9 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1323, allocations: 0 / 431.9 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.1325, allocations: 85.11 kB / 432 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.1326, allocations: 81.11 kB / 432.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.1326, allocations: 3.938 kB / 432.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.524e-05/0.1326, allocations: 7.984 kB / 432.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-06/0.1326, allocations: 4 kB / 432.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.1326, allocations: 0 / 432.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.526e-05/0.1327, allocations: 83.28 kB / 432.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1327, allocations: 0 / 432.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001899/0.1329, allocations: 4 kB / 432.2 MB, free: 15.83 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: 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.0001248/0.133, allocations: 103.2 kB / 432.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001417/0.1331, allocations: 28.11 kB / 432.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1331, allocations: 4.062 kB / 432.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.1331, allocations: 0 / 432.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/0.1334, allocations: 35.94 kB / 432.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003709/0.1338, allocations: 145.9 kB / 432.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.1341, allocations: 0.6807 MB / 433.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.1342, allocations: 11.44 kB / 433.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1342, allocations: 0 / 433.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Templates: time 0.002413/0.1366, allocations: 0.6314 MB / 433.8 MB, free: 14.14 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 6.909424272016622]