Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001922/0.001922, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002411/0.002411, allocations: 213.6 kB / 23.73 MB, free: 4.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 63.89 kB / 378.2 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3079, allocations: 53.41 MB / 431.6 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002876/0.3107, allocations: 0.9508 MB / 432.6 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004249/0.3112, allocations: 111.6 kB / 432.7 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.3113, allocations: 7.938 kB / 432.7 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.164e-05/0.3113, allocations: 11.86 kB / 432.7 MB, free: 5.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.3115, allocations: 7.938 kB / 432.7 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.3118, allocations: 43.89 kB / 432.8 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.3119, allocations: 35.92 kB / 432.8 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.312, allocations: 16.17 kB / 432.8 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.218e-05/0.3121, allocations: 15.88 kB / 432.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.3121, allocations: 19.86 kB / 432.9 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.3121, allocations: 7.984 kB / 432.9 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.608e-05/0.3122, allocations: 4 kB / 432.9 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.708e-05/0.3122, allocations: 15.92 kB / 432.9 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.3123, allocations: 15.88 kB / 432.9 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.3124, allocations: 69.92 kB / 433 MB, free: 5.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3124, allocations: 0 / 433 MB, free: 5.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3124, allocations: 0 / 433 MB, free: 5.238 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3125, allocations: 0 / 433 MB, free: 5.238 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.0005088/0.313, allocations: 290.1 kB / 433.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.313, allocations: 19.92 kB / 433.3 MB, free: 4.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.3131, allocations: 12.84 kB / 433.3 MB, free: 4.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.3134, allocations: 138.3 kB / 433.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3134, allocations: 4.375 kB / 433.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.3134, allocations: 12.31 kB / 433.4 MB, free: 4.719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003244/0.3137, allocations: 119.9 kB / 433.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.3137, allocations: 7.938 kB / 433.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3138, allocations: 0 / 433.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3138, allocations: 0 / 433.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.41e-05/0.3138, allocations: 23.91 kB / 433.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.314, allocations: 117.3 kB / 433.7 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.3142, allocations: 62.72 kB / 433.8 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.08e-05/0.3142, allocations: 36.89 kB / 433.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.976e-06/0.3142, allocations: 0 / 433.8 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.3143, allocations: 38.5 kB / 433.8 MB, free: 4.258 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.3143, allocations: 3.938 kB / 433.8 MB, free: 4.254 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000254/0.3145, allocations: 93.72 kB / 433.9 MB, free: 4.156 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.3146, allocations: 63.39 kB / 434 MB, free: 4.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.3148, allocations: 129.8 kB / 434.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3148, allocations: 29.7 kB / 434.1 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.3148, allocations: 84.14 kB / 434.2 MB, free: 3.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.3149, allocations: 7.938 kB / 434.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.3149, allocations: 29.7 kB / 434.3 MB, free: 3.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3151, allocations: 314.8 kB / 434.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/0.3151, allocations: 11.98 kB / 434.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.3152, allocations: 58.81 kB / 434.6 MB, free: 3.371 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.3153, allocations: 74.73 kB / 434.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3153, allocations: 4 kB / 434.7 MB, free: 3.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001517/0.3154, allocations: 85.52 kB / 434.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3154, allocations: 6.5 kB / 434.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3155, allocations: 7.938 kB / 434.8 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.3155, allocations: 4 kB / 434.8 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.283e-05/0.3156, allocations: 24.17 kB / 434.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.3156, allocations: 0 / 434.8 MB, free: 3.141 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.136e-05/0.3156, allocations: 7.953 kB / 434.8 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-06/0.3156, allocations: 4 kB / 434.9 MB, free: 3.129 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.0001256/0.3157, allocations: 121.8 kB / 435 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.3158, allocations: 73.58 kB / 435 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.3159, allocations: 16.66 kB / 435.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.3159, allocations: 3.984 kB / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3159, allocations: 192 / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3159, allocations: 0 / 435.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.316, allocations: 113.2 kB / 435.2 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/0.316, allocations: 12 kB / 435.2 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.961e-05/0.3161, allocations: 8 kB / 435.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3161, allocations: 3.984 kB / 435.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.3161, allocations: 8 kB / 435.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.309e-06/0.3161, allocations: 3.938 kB / 435.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3161, allocations: 0 / 435.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.3163, allocations: 101 kB / 435.3 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.3163, allocations: 27.81 kB / 435.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3163, allocations: 0 / 435.3 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.844e-05/0.3164, allocations: 7.938 kB / 435.3 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.033e-06/0.3164, allocations: 4 kB / 435.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.351e-06/0.3164, allocations: 4 kB / 435.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.428e-05/0.3165, allocations: 103.3 kB / 435.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3165, allocations: 0 / 435.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002215/0.3167, allocations: 4 kB / 435.5 MB, free: 2.457 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.0001335/0.3168, allocations: 103.2 kB / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001396/0.317, allocations: 44.33 kB / 435.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.317, allocations: 0.5 kB / 435.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.317, allocations: 4 kB / 435.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3173, allocations: 39.94 kB / 435.6 MB, free: 2.262 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.3177, allocations: 161.8 kB / 435.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.863e-05/0.3178, allocations: 83.97 kB / 435.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.15e-05/0.3178, allocations: 7.938 kB / 435.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.3178, allocations: 15.44 kB / 435.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3178, allocations: 0 / 435.9 MB, free: 1.949 MB / 334.1 MB Notification: Performance of Templates: time 0.00365/0.3215, allocations: 0.7048 MB / 436.6 MB, free: 1.266 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.571788270026445]