Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.0009631/0.0009631, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.001061/0.001061, allocations: 144.5 kB / 24.89 MB, free: 8.238 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 0.8949/0.8949, allocations: 173.3 MB / 201.5 MB, free: 9.164 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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.564e-05/1.695e-05, allocations: 6.25 kB / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002007/0.002024, allocations: 0.9887 MB / 269.5 MB, free: 5.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003426/0.002366, allocations: 123.4 kB / 269.6 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.782e-05/0.002444, allocations: 3.938 kB / 269.6 MB, free: 5.035 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.872e-05/0.002493, allocations: 3.938 kB / 269.6 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.002617, allocations: 11.94 kB / 269.6 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001809/0.002798, allocations: 31.89 kB / 269.6 MB, free: 4.988 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.708e-05/0.002895, allocations: 43.84 kB / 269.7 MB, free: 4.945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.25e-05/0.002977, allocations: 16.12 kB / 269.7 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.2e-05/0.003029, allocations: 27.91 kB / 269.7 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.148e-05/0.003071, allocations: 19.97 kB / 269.7 MB, free: 4.879 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.003092, allocations: 4 kB / 269.7 MB, free: 4.875 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.003102, allocations: 7.938 kB / 269.8 MB, free: 4.867 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.062e-05/0.003143, allocations: 8 kB / 269.8 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.003167, allocations: 11.92 kB / 269.8 MB, free: 4.848 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.00327, allocations: 35.84 kB / 269.8 MB, free: 4.812 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.003273, allocations: 3.984 kB / 269.8 MB, free: 4.809 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.003274, allocations: 0 / 269.8 MB, free: 4.809 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.186e-06/0.003277, allocations: 0 / 269.8 MB, free: 4.809 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.0002779/0.003555, allocations: 280.6 kB / 270.1 MB, free: 4.512 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.003585, allocations: 12.92 kB / 270.1 MB, free: 4.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.003613, allocations: 8.875 kB / 270.1 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.003747, allocations: 141.5 kB / 270.2 MB, free: 4.328 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.003757, allocations: 4.375 kB / 270.2 MB, free: 4.324 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.003767, allocations: 4.375 kB / 270.3 MB, free: 4.32 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.003914, allocations: 99.84 kB / 270.4 MB, free: 4.211 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.003922, allocations: 8.125 kB / 270.4 MB, free: 4.203 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-06/0.003928, allocations: 384 / 270.4 MB, free: 4.203 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.003935, allocations: 8.125 kB / 270.4 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.397e-05/0.003949, allocations: 11.92 kB / 270.4 MB, free: 4.184 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.153e-05/0.00401, allocations: 61.05 kB / 270.4 MB, free: 4.109 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.95e-05/0.0041, allocations: 42.55 kB / 270.5 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.812e-05/0.004128, allocations: 24.84 kB / 270.5 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.493e-06/0.004135, allocations: 4 kB / 270.5 MB, free: 4.027 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.004172, allocations: 30.56 kB / 270.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.004173, allocations: 0 / 270.5 MB, free: 3.988 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001038/0.004276, allocations: 61.78 kB / 270.6 MB, free: 3.922 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.004319, allocations: 67.38 kB / 270.7 MB, free: 3.844 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.011e-05/0.004389, allocations: 129.5 kB / 270.8 MB, free: 3.707 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.004398, allocations: 25.7 kB / 270.8 MB, free: 3.676 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.227e-05/0.00442, allocations: 84.12 kB / 270.9 MB, free: 3.59 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.118e-05/0.004431, allocations: 7.953 kB / 270.9 MB, free: 3.582 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.497e-05/0.004456, allocations: 13.72 kB / 270.9 MB, free: 3.562 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.004563, allocations: 322.8 kB / 271.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.609e-06/0.004568, allocations: 0 / 271.2 MB, free: 3.238 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-06/0.004574, allocations: 7.984 kB / 271.2 MB, free: 3.23 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.826e-05/0.004593, allocations: 12.86 kB / 271.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004594, allocations: 0 / 271.3 MB, free: 3.215 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.019e-05/0.004634, allocations: 33.7 kB / 271.3 MB, free: 3.176 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.004648, allocations: 8 kB / 271.3 MB, free: 3.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.004652, allocations: 0 / 271.3 MB, free: 3.168 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.004663, allocations: 3.984 kB / 271.3 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.951e-05/0.004692, allocations: 7.984 kB / 271.3 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.004694, allocations: 0 / 271.3 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.114e-05/0.004705, allocations: 0 / 271.3 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.00471, allocations: 3.938 kB / 271.3 MB, free: 3.152 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: 0 () * 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 5.445e-05/0.004764, allocations: 116.7 kB / 271.4 MB, free: 3.027 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.004807, allocations: 57.62 kB / 271.5 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.004835, allocations: 16.77 kB / 271.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.004837, allocations: 0 / 271.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.004838, allocations: 0 / 271.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.00484, allocations: 0 / 271.5 MB, free: 2.945 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.89e-05/0.004899, allocations: 81.75 kB / 271.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.0049, allocations: 3.938 kB / 271.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.004936, allocations: 12 kB / 271.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.004937, allocations: 0 / 271.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-06/0.004942, allocations: 8 kB / 271.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.004943, allocations: 0 / 271.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.004943, allocations: 0 / 271.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.899e-05/0.004982, allocations: 65 kB / 271.7 MB, free: 2.742 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.563e-05/0.005008, allocations: 7.953 kB / 271.7 MB, free: 2.734 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.005025, allocations: 11.98 kB / 271.7 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.088e-05/0.005036, allocations: 0 / 271.7 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-06/0.005038, allocations: 0 / 271.7 MB, free: 2.723 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.005041, allocations: 0 / 271.7 MB, free: 2.723 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.359e-05/0.005065, allocations: 27.64 kB / 271.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005065, allocations: 0 / 271.7 MB, free: 2.695 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001564/0.005221, allocations: 12 kB / 271.7 MB, free: 2.684 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: 0 () * 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 0.0001247/0.005346, allocations: 76.42 kB / 271.8 MB, free: 2.602 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.365e-05/0.005399, allocations: 20.8 kB / 271.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.005402, allocations: 0 / 271.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.005402, allocations: 0 / 271.8 MB, free: 2.578 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.005543, allocations: 35.03 kB / 271.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001963/0.005739, allocations: 160.5 kB / 272 MB, free: 2.359 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.333e-05/0.005772, allocations: 63.34 kB / 272.1 MB, free: 2.277 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.459e-05/0.005787, allocations: 8.062 kB / 272.1 MB, free: 2.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.771e-05/0.005835, allocations: 55.36 kB / 272.1 MB, free: 2.215 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.005835, allocations: 0 / 272.1 MB, free: 2.215 MB / 250.7 MB Notification: Performance of Templates: time 0.002274/0.008109, allocations: 0.6729 MB / 272.8 MB, free: 1.555 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/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.3799815522506833]