Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004192/0.004192, allocations: 140.4 kB / 25.59 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.021/1.021, allocations: 173.4 MB / 202.3 MB, free: 8.289 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.286e-05, allocations: 3.125 kB / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.002704/0.002737, allocations: 0.8723 MB / 270.1 MB, free: 8.906 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004374/0.003175, allocations: 132.1 kB / 270.2 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.875e-05/0.003273, allocations: 0 / 270.2 MB, free: 8.777 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.003397, allocations: 8.609 kB / 270.2 MB, free: 8.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.003537, allocations: 11.94 kB / 270.2 MB, free: 8.758 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.00376, allocations: 41.8 kB / 270.3 MB, free: 8.719 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.003882, allocations: 39.86 kB / 270.3 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.003998, allocations: 15.97 kB / 270.3 MB, free: 8.664 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/0.004052, allocations: 27.91 kB / 270.3 MB, free: 8.637 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.004139, allocations: 15.92 kB / 270.4 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.242e-05/0.004172, allocations: 5.469 kB / 270.4 MB, free: 8.617 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.378e-05/0.004186, allocations: 4 kB / 270.4 MB, free: 8.613 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.004237, allocations: 15.92 kB / 270.4 MB, free: 8.598 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.004272, allocations: 15.98 kB / 270.4 MB, free: 8.582 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.004408, allocations: 48.33 kB / 270.4 MB, free: 8.535 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.004411, allocations: 0.5938 kB / 270.4 MB, free: 8.535 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.004412, allocations: 0 / 270.4 MB, free: 8.535 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.004416, allocations: 0.625 kB / 270.4 MB, free: 8.535 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000444/0.00486, allocations: 402 kB / 270.8 MB, free: 8.105 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.004911, allocations: 8.031 kB / 270.8 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/0.004966, allocations: 16.84 kB / 270.9 MB, free: 8.082 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.005203, allocations: 145.7 kB / 271 MB, free: 7.914 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.005219, allocations: 8.375 kB / 271 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.005234, allocations: 8.375 kB / 271 MB, free: 7.898 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.00544, allocations: 111.3 kB / 271.1 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.005449, allocations: 192 / 271.1 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.005456, allocations: 384 / 271.1 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.005463, allocations: 1.125 kB / 271.1 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.598e-05/0.005489, allocations: 19.91 kB / 271.1 MB, free: 7.758 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001229/0.005612, allocations: 109.7 kB / 271.3 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.00575, allocations: 63.17 kB / 271.3 MB, free: 7.551 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.216e-05/0.005793, allocations: 27.67 kB / 271.3 MB, free: 7.52 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.005801, allocations: 0 / 271.3 MB, free: 7.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.005834, allocations: 37.39 kB / 271.4 MB, free: 7.473 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.005835, allocations: 0 / 271.4 MB, free: 7.473 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001688/0.006004, allocations: 73.72 kB / 271.5 MB, free: 7.395 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.006079, allocations: 59.41 kB / 271.5 MB, free: 7.324 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.006213, allocations: 191.9 kB / 271.7 MB, free: 7.121 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.006228, allocations: 29.64 kB / 271.7 MB, free: 7.086 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.006289, allocations: 138.8 kB / 271.9 MB, free: 6.945 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.006307, allocations: 11.95 kB / 271.9 MB, free: 6.934 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.006339, allocations: 19.38 kB / 271.9 MB, free: 6.906 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.006485, allocations: 0.4922 MB / 272.4 MB, free: 6.402 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-06/0.006493, allocations: 4 kB / 272.4 MB, free: 6.398 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.971e-06/0.006499, allocations: 0 / 272.4 MB, free: 6.398 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.006523, allocations: 15.69 kB / 272.4 MB, free: 6.379 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.006525, allocations: 0 / 272.4 MB, free: 6.379 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.964e-05/0.006575, allocations: 37.64 kB / 272.4 MB, free: 6.336 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.006586, allocations: 4 kB / 272.4 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.006591, allocations: 4.094 kB / 272.4 MB, free: 6.328 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.006601, allocations: 4 kB / 272.5 MB, free: 6.324 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.547e-05/0.006637, allocations: 3.984 kB / 272.5 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.006639, allocations: 0 / 272.5 MB, free: 6.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.238e-05/0.006651, allocations: 4 kB / 272.5 MB, free: 6.316 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.006656, allocations: 3.938 kB / 272.5 MB, free: 6.312 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.442e-05/0.00672, allocations: 156.6 kB / 272.6 MB, free: 6.148 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.006771, allocations: 69.84 kB / 272.7 MB, free: 6.074 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.444e-05/0.006806, allocations: 12.78 kB / 272.7 MB, free: 6.059 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.006808, allocations: 0 / 272.7 MB, free: 6.059 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.00681, allocations: 4 kB / 272.7 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.006813, allocations: 0 / 272.7 MB, free: 6.055 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.136e-05/0.006884, allocations: 113.2 kB / 272.8 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.006885, allocations: 0 / 272.8 MB, free: 5.918 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.467e-05/0.00693, allocations: 15.98 kB / 272.8 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.006937, allocations: 0 / 272.8 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-06/0.006941, allocations: 0 / 272.8 MB, free: 5.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.006943, allocations: 4 kB / 272.8 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.006945, allocations: 0 / 272.8 MB, free: 5.898 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.378e-05/0.006998, allocations: 72.42 kB / 272.9 MB, free: 5.805 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.007036, allocations: 27.75 kB / 272.9 MB, free: 5.777 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.00705, allocations: 8 kB / 272.9 MB, free: 5.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-06/0.00706, allocations: 0 / 272.9 MB, free: 5.77 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-06/0.007062, allocations: 0 / 272.9 MB, free: 5.77 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.007065, allocations: 0 / 272.9 MB, free: 5.77 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.861e-05/0.007114, allocations: 145.5 kB / 273.1 MB, free: 5.629 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007114, allocations: 0 / 273.1 MB, free: 5.629 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001164/0.00723, allocations: 8 kB / 273.1 MB, free: 5.621 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * Number of discrete states: 0 () * Number of clocked states: 1 (unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 8.984e-05/0.00732, allocations: 107.2 kB / 273.2 MB, free: 5.508 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.64e-05/0.007386, allocations: 27.67 kB / 273.2 MB, free: 5.477 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007388, allocations: 0 / 273.2 MB, free: 5.477 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.007389, allocations: 0 / 273.2 MB, free: 5.477 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.007599, allocations: 45.61 kB / 273.3 MB, free: 5.434 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001987/0.007798, allocations: 167.3 kB / 273.4 MB, free: 5.242 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.594e-05/0.007834, allocations: 71.33 kB / 273.5 MB, free: 5.152 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.459e-05/0.007849, allocations: 0 / 273.5 MB, free: 5.152 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.007904, allocations: 74.2 kB / 273.6 MB, free: 5.078 MB / 250.7 MB Notification: Performance of SimCode: time 4.51e-07/0.007904, allocations: 0 / 273.6 MB, free: 5.078 MB / 250.7 MB Notification: Performance of Templates: time 0.002236/0.01014, allocations: 0.7613 MB / 274.3 MB, free: 4.336 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8061784859746695]