Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.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.008714/0.008714, allocations: 108.6 kB / 21.97 MB, free: 5.184 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.002001/0.002001, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.509/1.509, allocations: 230.6 MB / 259 MB, free: 8.008 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.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [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.002024/0.002024, allocations: 63.89 kB / 379.8 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3588, allocations: 53.36 MB / 433.2 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002911/0.3617, allocations: 0.9694 MB / 434.1 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004536/0.3622, allocations: 111.6 kB / 434.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.3623, allocations: 7.938 kB / 434.3 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.504e-05/0.3624, allocations: 3.938 kB / 434.3 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.3625, allocations: 7.938 kB / 434.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.3628, allocations: 43.89 kB / 434.3 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.363, allocations: 39.86 kB / 434.4 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3631, allocations: 16.17 kB / 434.4 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.321e-05/0.3632, allocations: 23.86 kB / 434.4 MB, free: 5.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.3632, allocations: 27.78 kB / 434.4 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.3632, allocations: 8 kB / 434.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.3633, allocations: 4 kB / 434.4 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.104e-05/0.3633, allocations: 11.94 kB / 434.4 MB, free: 5.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.337e-05/0.3634, allocations: 27.8 kB / 434.5 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.3635, allocations: 59.39 kB / 434.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3635, allocations: 0 / 434.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3635, allocations: 0 / 434.5 MB, free: 5.617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.3636, allocations: 0 / 434.5 MB, free: 5.617 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.0005703/0.3641, allocations: 295.6 kB / 434.8 MB, free: 5.301 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.3642, allocations: 12.03 kB / 434.8 MB, free: 5.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.3642, allocations: 8.891 kB / 434.8 MB, free: 5.281 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.3645, allocations: 141 kB / 435 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.3645, allocations: 8.375 kB / 435 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.3645, allocations: 8.359 kB / 435 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003433/0.3649, allocations: 135.7 kB / 435.1 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3649, allocations: 3.938 kB / 435.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.3649, allocations: 0 / 435.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.3649, allocations: 0 / 435.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.365, allocations: 12 kB / 435.1 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.3652, allocations: 156.6 kB / 435.3 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.3653, allocations: 54.72 kB / 435.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.12e-05/0.3654, allocations: 40.89 kB / 435.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.3654, allocations: 0 / 435.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.3655, allocations: 38.56 kB / 435.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.3655, allocations: 0 / 435.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002367/0.3657, allocations: 97.64 kB / 435.5 MB, free: 4.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.976e-05/0.3658, allocations: 55.41 kB / 435.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3659, allocations: 133.8 kB / 435.7 MB, free: 4.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.366, allocations: 33.7 kB / 435.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.366, allocations: 84.12 kB / 435.8 MB, free: 4.164 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.366, allocations: 11.94 kB / 435.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.3661, allocations: 17.72 kB / 435.9 MB, free: 4.129 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3663, allocations: 322.8 kB / 436.2 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.73e-05/0.3663, allocations: 8 kB / 436.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.955e-05/0.3664, allocations: 66.73 kB / 436.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.3665, allocations: 70.81 kB / 436.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3665, allocations: 0 / 436.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001663/0.3667, allocations: 89.44 kB / 436.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.3667, allocations: 11.94 kB / 436.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3667, allocations: 0 / 436.4 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.3667, allocations: 8.25 kB / 436.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.717e-05/0.3668, allocations: 19.94 kB / 436.4 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.3668, allocations: 7.938 kB / 436.4 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.64e-05/0.3669, allocations: 3.953 kB / 436.4 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.3669, allocations: 4 kB / 436.4 MB, free: 3.465 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.0001242/0.367, allocations: 121.8 kB / 436.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.3671, allocations: 77.52 kB / 436.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.449e-05/0.3672, allocations: 16.72 kB / 436.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3672, allocations: 0 / 436.7 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3672, allocations: 4 kB / 436.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3672, allocations: 0 / 436.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.3673, allocations: 144.7 kB / 436.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3674, allocations: 0 / 436.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.591e-05/0.3674, allocations: 16 kB / 436.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.3674, allocations: 3.938 kB / 436.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.3674, allocations: 0 / 436.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3674, allocations: 0 / 436.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3674, allocations: 0 / 436.8 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.3676, allocations: 113 kB / 436.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.3676, allocations: 23.83 kB / 437 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3677, allocations: 3.984 kB / 437 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.72e-05/0.3677, allocations: 0 / 437 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-06/0.3677, allocations: 0 / 437 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.74e-05/0.3677, allocations: 4 kB / 437 MB, free: 2.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.525e-05/0.3678, allocations: 106.2 kB / 437.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3678, allocations: 0 / 437.1 MB, free: 2.766 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002124/0.368, allocations: 8 kB / 437.1 MB, free: 2.758 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.0001862/0.3682, allocations: 99.25 kB / 437.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.3684, allocations: 39.92 kB / 437.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3684, allocations: 0 / 437.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.3684, allocations: 3.938 kB / 437.2 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.3688, allocations: 40 kB / 437.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.3693, allocations: 195.9 kB / 437.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005144/0.3698, allocations: 0.6963 MB / 438.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.3699, allocations: 15.38 kB / 438.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3699, allocations: 0 / 438.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of Templates: time 0.003186/0.3731, allocations: 0.8121 MB / 439 MB, free: 0.7969 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 7.314341825200245]