Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001866/0.001866, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.002343/0.002343, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.614/1.614, allocations: 230.4 MB / 255.4 MB, free: 15.02 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.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.002851/0.002851, allocations: 67.84 kB / 374.7 MB, free: 9.773 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1355, allocations: 53.32 MB / 428.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003922/0.1394, allocations: 1.451 MB / 429.5 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003798/0.1398, allocations: 91.69 kB / 429.6 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.1399, allocations: 4 kB / 429.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.419e-05/0.14, allocations: 3.938 kB / 429.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.14, allocations: 3.938 kB / 429.6 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.1403, allocations: 23.97 kB / 429.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.1404, allocations: 23.92 kB / 429.7 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.1406, allocations: 11.98 kB / 429.7 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.291e-05/0.1406, allocations: 7.938 kB / 429.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.139e-05/0.1407, allocations: 11.94 kB / 429.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1407, allocations: 4 kB / 429.7 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.38e-05/0.1407, allocations: 4 kB / 429.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.466e-05/0.1407, allocations: 3.984 kB / 429.7 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.1408, allocations: 19.86 kB / 429.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.1409, allocations: 31.84 kB / 429.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1409, allocations: 0 / 429.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1409, allocations: 0 / 429.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1409, allocations: 0 / 429.7 MB, free: 2.656 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.0005916/0.1415, allocations: 345.4 kB / 430.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1416, allocations: 12.03 kB / 430.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.1416, allocations: 8.891 kB / 430.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.1419, allocations: 176.4 kB / 430.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.1419, allocations: 384 / 430.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1419, allocations: 384 / 430.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.1423, allocations: 111.9 kB / 430.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.1423, allocations: 4.172 kB / 430.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1423, allocations: 3.938 kB / 430.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1423, allocations: 4 kB / 430.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.477e-05/0.1424, allocations: 15.98 kB / 430.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.1426, allocations: 161.6 kB / 430.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1428, allocations: 58.52 kB / 430.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.1429, allocations: 20.86 kB / 430.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1429, allocations: 48 / 430.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.1429, allocations: 38.48 kB / 430.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1429, allocations: 4 kB / 430.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002489/0.1432, allocations: 73.55 kB / 430.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.1432, allocations: 51.41 kB / 430.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.1433, allocations: 113.8 kB / 430.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.1434, allocations: 25.7 kB / 430.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.35e-05/0.1434, allocations: 84.14 kB / 431 MB, free: 1.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.112e-05/0.1434, allocations: 7.938 kB / 431 MB, free: 1.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.1435, allocations: 17.72 kB / 431.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1436, allocations: 314.8 kB / 431.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.1437, allocations: 0 / 431.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.656e-05/0.1437, allocations: 31.44 kB / 431.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.287e-05/0.1438, allocations: 39.38 kB / 431.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1438, allocations: 0 / 431.4 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.728e-05/0.1439, allocations: 61.61 kB / 431.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.1439, allocations: 4 kB / 431.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.1439, allocations: 7.938 kB / 431.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.1439, allocations: 0 / 431.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.4e-05/0.144, allocations: 15.92 kB / 431.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.144, allocations: 0 / 431.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.144, allocations: 0 / 431.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.144, allocations: 4 kB / 431.5 MB, free: 0.625 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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.0001062/0.1441, allocations: 113.8 kB / 431.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.1442, allocations: 53.78 kB / 431.7 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.1443, allocations: 15.83 kB / 431.7 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1443, allocations: 0 / 431.7 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1443, allocations: 8.188 kB / 431.7 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1443, allocations: 0 / 431.7 MB, free: 420 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.1444, allocations: 161.6 kB / 431.9 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1444, allocations: 0 / 431.9 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.442e-05/0.1445, allocations: 7.984 kB / 431.9 MB, free: 200 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1445, allocations: 4.328 kB / 431.9 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1445, allocations: 3.938 kB / 431.9 MB, free: 192 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1445, allocations: 4 kB / 431.9 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1445, allocations: 0 / 431.9 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.1447, allocations: 89.05 kB / 432 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.1447, allocations: 77.11 kB / 432.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.1448, allocations: 7.938 kB / 432.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.57e-05/0.1448, allocations: 0 / 432.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-06/0.1448, allocations: 0 / 432.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1448, allocations: 4 kB / 432.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.644e-05/0.1448, allocations: 91.27 kB / 432.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1448, allocations: 3.938 kB / 432.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000199/0.145, allocations: 7.875 kB / 432.2 MB, free: 15.87 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.0001308/0.1452, allocations: 103.2 kB / 432.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1453, allocations: 19.98 kB / 432.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1453, allocations: 256 / 432.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.31e-07/0.1453, allocations: 4 kB / 432.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.1456, allocations: 23.92 kB / 432.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.1459, allocations: 135.3 kB / 432.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.1462, allocations: 0.6807 MB / 433.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.424e-05/0.1463, allocations: 7.438 kB / 433.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1463, allocations: 0 / 433.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of Templates: time 0.002245/0.1485, allocations: 0.5659 MB / 433.7 MB, free: 14.27 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.893812990980223]