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.0006901/0.0006901, allocations: 80 kB / 21.43 MB, free: 3.133 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.003113/0.003113, allocations: 139.5 kB / 24.68 MB, free: 8.883 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.807/0.807, allocations: 173.4 MB / 201.2 MB, free: 9.438 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.453e-06/1.453e-06, allocations: 0 / 319.7 MB, free: 5.871 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.044e-05, allocations: 6.219 kB / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.00134/0.001361, allocations: 0.9393 MB / 320.6 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000253/0.001614, allocations: 127.5 kB / 320.8 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.073e-05/0.001674, allocations: 3.938 kB / 320.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.001708, allocations: 3.938 kB / 320.8 MB, free: 4.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.001812, allocations: 7.938 kB / 320.8 MB, free: 4.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.001975, allocations: 43.77 kB / 320.8 MB, free: 4.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.369e-05/0.002059, allocations: 35.92 kB / 320.9 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.945e-05/0.002149, allocations: 32.08 kB / 320.9 MB, free: 4.668 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.894e-05/0.002188, allocations: 23.92 kB / 320.9 MB, free: 4.645 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.676e-05/0.002224, allocations: 15.92 kB / 320.9 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.235e-05/0.002247, allocations: 4 kB / 320.9 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-06/0.002256, allocations: 4 kB / 320.9 MB, free: 4.621 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.0023, allocations: 15.92 kB / 321 MB, free: 4.605 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.772e-05/0.002328, allocations: 11.98 kB / 321 MB, free: 4.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.888e-05/0.002426, allocations: 59.73 kB / 321 MB, free: 4.535 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.002428, allocations: 0 / 321 MB, free: 4.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.00243, allocations: 3.984 kB / 321 MB, free: 4.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.788e-06/0.002433, allocations: 0 / 321 MB, free: 4.531 MB / 282.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.0002935/0.002727, allocations: 298 kB / 321.3 MB, free: 4.211 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.00276, allocations: 8.922 kB / 321.3 MB, free: 4.203 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.371e-05/0.002784, allocations: 12.89 kB / 321.3 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.00293, allocations: 133.6 kB / 321.5 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.002938, allocations: 8.375 kB / 321.5 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.924e-06/0.002946, allocations: 4.375 kB / 321.5 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.003129, allocations: 131.8 kB / 321.6 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.003135, allocations: 192 / 321.6 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.003141, allocations: 384 / 321.6 MB, free: 3.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.003146, allocations: 8.125 kB / 321.6 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.627e-05/0.003173, allocations: 15.94 kB / 321.6 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.706e-05/0.00326, allocations: 113.3 kB / 321.7 MB, free: 3.719 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.372e-05/0.003353, allocations: 54.72 kB / 321.8 MB, free: 3.656 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.176e-05/0.003395, allocations: 36.89 kB / 321.8 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-06/0.003405, allocations: 7.938 kB / 321.8 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.003422, allocations: 34.7 kB / 321.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 7.11e-07/0.003422, allocations: 4 kB / 321.9 MB, free: 3.562 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001315/0.003554, allocations: 93.61 kB / 322 MB, free: 3.465 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.003592, allocations: 59.36 kB / 322 MB, free: 3.395 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.236e-05/0.003665, allocations: 133.8 kB / 322.2 MB, free: 3.254 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.003676, allocations: 29.7 kB / 322.2 MB, free: 3.219 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.877e-05/0.003704, allocations: 88.14 kB / 322.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.717e-06/0.003713, allocations: 0 / 322.3 MB, free: 3.129 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.003737, allocations: 17.7 kB / 322.3 MB, free: 3.105 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.488e-05/0.003832, allocations: 314.8 kB / 322.6 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-06/0.003841, allocations: 7.938 kB / 322.6 MB, free: 2.781 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-06/0.003847, allocations: 4 kB / 322.6 MB, free: 2.777 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.95e-05/0.003866, allocations: 12.86 kB / 322.6 MB, free: 2.762 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.003868, allocations: 0 / 322.6 MB, free: 2.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.379e-05/0.003901, allocations: 49.58 kB / 322.7 MB, free: 2.707 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.003911, allocations: 4 kB / 322.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.003915, allocations: 0 / 322.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.664e-06/0.003922, allocations: 0 / 322.7 MB, free: 2.703 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.382e-05/0.003956, allocations: 4 kB / 322.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.003961, allocations: 3.938 kB / 322.7 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-06/0.003969, allocations: 0 / 322.7 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.003973, allocations: 8.094 kB / 322.7 MB, free: 2.688 MB / 282.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 6.03e-05/0.004034, allocations: 129.7 kB / 322.8 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.25e-05/0.004086, allocations: 65.66 kB / 322.9 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.004113, allocations: 16.77 kB / 322.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.004114, allocations: 0 / 322.9 MB, free: 2.461 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.004119, allocations: 3.938 kB / 322.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.004122, allocations: 0 / 322.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.986e-05/0.004172, allocations: 113.2 kB / 323 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.004172, allocations: 0 / 323 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.06e-05/0.004203, allocations: 19.98 kB / 323 MB, free: 2.297 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.22e-07/0.004203, allocations: 4 kB / 323 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.004209, allocations: 4 kB / 323 MB, free: 2.289 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.004211, allocations: 4 kB / 323 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004212, allocations: 0 / 323 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.144e-05/0.004283, allocations: 104.9 kB / 323.2 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.664e-05/0.00431, allocations: 19.92 kB / 323.2 MB, free: 2.145 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.00432, allocations: 4 kB / 323.2 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-06/0.004328, allocations: 0 / 323.2 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-06/0.004329, allocations: 0 / 323.2 MB, free: 2.141 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.004332, allocations: 0 / 323.2 MB, free: 2.141 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.264e-05/0.004374, allocations: 117.9 kB / 323.3 MB, free: 2.027 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004374, allocations: 4 kB / 323.3 MB, free: 2.023 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001102/0.004484, allocations: 12 kB / 323.3 MB, free: 2.012 MB / 282.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 6.271e-05/0.004547, allocations: 95.25 kB / 323.4 MB, free: 1.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.026e-05/0.004607, allocations: 19.94 kB / 323.4 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.004609, allocations: 0 / 323.4 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.11e-07/0.004609, allocations: 0 / 323.4 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.004802, allocations: 36.02 kB / 323.5 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.005011, allocations: 194.5 kB / 323.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.043e-05/0.005061, allocations: 87.33 kB / 323.7 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.00508, allocations: 8.5 kB / 323.7 MB, free: 1.52 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.005081, allocations: 7.875 kB / 323.7 MB, free: 1.512 MB / 282.7 MB Notification: Performance of Templates: time 0.001323/0.006404, allocations: 0.7769 MB / 324.5 MB, free: 0.7383 MB / 282.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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: 3.791150868870318]