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.001376/0.001376, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 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.001438/0.001438, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 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.589/1.589, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001543/0.001543, allocations: 51.92 kB / 368.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3461, allocations: 52.14 MB / 420.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002847/0.3489, allocations: 0.9769 MB / 421.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004445/0.3494, allocations: 123.5 kB / 422 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.3495, allocations: 0 / 422 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.515e-05/0.3496, allocations: 3.938 kB / 422 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.3498, allocations: 7.938 kB / 422 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.35, allocations: 39.89 kB / 422 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.3502, allocations: 39.86 kB / 422.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3503, allocations: 20.17 kB / 422.1 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.188e-05/0.3504, allocations: 15.92 kB / 422.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.184e-05/0.3504, allocations: 27.84 kB / 422.1 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.3504, allocations: 7.938 kB / 422.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.3504, allocations: 4 kB / 422.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.3505, allocations: 11.94 kB / 422.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.004e-05/0.3506, allocations: 27.8 kB / 422.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.3507, allocations: 56.94 kB / 422.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3507, allocations: 0 / 422.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.3507, allocations: 4 kB / 422.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.3507, allocations: 0 / 422.2 MB, free: 13.72 MB / 334.1 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.0005994/0.3513, allocations: 379.1 kB / 422.6 MB, free: 13.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.3514, allocations: 8.031 kB / 422.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.3514, allocations: 12.89 kB / 422.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.3517, allocations: 196.1 kB / 422.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.3518, allocations: 8.375 kB / 422.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.3518, allocations: 4.375 kB / 422.8 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.3521, allocations: 131.8 kB / 423 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3521, allocations: 3.938 kB / 423 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3521, allocations: 0 / 423 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.3521, allocations: 0 / 423 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.168e-05/0.3521, allocations: 19.98 kB / 423 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.3524, allocations: 173.6 kB / 423.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.3525, allocations: 66.64 kB / 423.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/0.3526, allocations: 36.89 kB / 423.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.697e-06/0.3526, allocations: 0 / 423.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.3526, allocations: 34.56 kB / 423.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.61e-07/0.3527, allocations: 0 / 423.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002408/0.3529, allocations: 93.66 kB / 423.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/0.353, allocations: 67.39 kB / 423.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.3531, allocations: 125.8 kB / 423.6 MB, free: 12.19 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.639e-05/0.3532, allocations: 33.7 kB / 423.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.723e-05/0.3532, allocations: 84.14 kB / 423.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.3532, allocations: 7.891 kB / 423.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.3533, allocations: 25.7 kB / 423.7 MB, free: 12.03 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.3535, allocations: 314.8 kB / 424 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.082e-05/0.3535, allocations: 19.98 kB / 424 MB, free: 11.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.3536, allocations: 58.81 kB / 424.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.3537, allocations: 74.8 kB / 424.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3537, allocations: 3.938 kB / 424.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001445/0.3538, allocations: 93.64 kB / 424.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.3539, allocations: 7.938 kB / 424.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3539, allocations: 4 kB / 424.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.3539, allocations: 4 kB / 424.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.812e-05/0.354, allocations: 19.92 kB / 424.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.354, allocations: 0 / 424.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.354, allocations: 4 kB / 424.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.354, allocations: 4 kB / 424.3 MB, free: 11.37 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (9): * Single equations (assignments): 9 * 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.0001294/0.3542, allocations: 125.8 kB / 424.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.3543, allocations: 81.58 kB / 424.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.3543, allocations: 16.7 kB / 424.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3543, allocations: 0 / 424.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3543, allocations: 0 / 424.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3543, allocations: 0 / 424.5 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.3545, allocations: 173.6 kB / 424.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3545, allocations: 0 / 424.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.156e-05/0.3546, allocations: 11.98 kB / 424.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3546, allocations: 3.938 kB / 424.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.3546, allocations: 4.188 kB / 424.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3546, allocations: 4 kB / 424.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3546, allocations: 7.938 kB / 424.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.3547, allocations: 105 kB / 424.8 MB, free: 10.76 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/0.3548, allocations: 100.9 kB / 424.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.3549, allocations: 4 kB / 424.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.643e-05/0.3549, allocations: 0 / 424.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-06/0.3549, allocations: 0 / 424.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.3549, allocations: 0 / 424.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.355, allocations: 114.4 kB / 425 MB, free: 10.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.355, allocations: 0 / 425 MB, free: 10.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002051/0.3552, allocations: 12 kB / 425.1 MB, free: 10.52 MB / 334.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: 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.0001315/0.3553, allocations: 96.05 kB / 425.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001454/0.3555, allocations: 39.92 kB / 425.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3555, allocations: 0 / 425.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.42e-07/0.3555, allocations: 0.5 kB / 425.2 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3558, allocations: 40.42 kB / 425.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003913/0.3562, allocations: 181.5 kB / 425.4 MB, free: 10.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.3567, allocations: 0.6963 MB / 426.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.991e-05/0.3567, allocations: 4 kB / 426.1 MB, free: 9.402 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.3567, allocations: 11.44 kB / 426.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3567, allocations: 0 / 426.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of Templates: time 0.003735/0.3605, allocations: 0.6514 MB / 426.8 MB, free: 8.742 MB / 334.1 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: 4.942016059532762]