Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 112.2 kB / 21.19 MB, free: 0.7812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 214.5 kB / 24.49 MB, free: 4.18 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 7.992 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 47.92 kB / 379 MB, free: 2.633 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.2295, allocations: 53.36 MB / 432.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002398/0.2319, allocations: 0.9703 MB / 433.4 MB, free: 6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003421/0.2322, allocations: 111.5 kB / 433.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.619e-05/0.2323, allocations: 4 kB / 433.5 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.48e-05/0.2324, allocations: 7.922 kB / 433.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.2325, allocations: 7.875 kB / 433.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.2327, allocations: 47.89 kB / 433.5 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.973e-05/0.2328, allocations: 39.86 kB / 433.6 MB, free: 5.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.2329, allocations: 16.17 kB / 433.6 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.328e-05/0.2329, allocations: 19.92 kB / 433.6 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.555e-05/0.233, allocations: 19.86 kB / 433.6 MB, free: 5.727 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.233, allocations: 4 kB / 433.6 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.233, allocations: 4 kB / 433.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.342e-05/0.2331, allocations: 15.92 kB / 433.7 MB, free: 5.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.2331, allocations: 27.75 kB / 433.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.2332, allocations: 55.39 kB / 433.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2332, allocations: 4 kB / 433.7 MB, free: 5.621 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2332, allocations: 4 kB / 433.8 MB, free: 5.617 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2333, allocations: 0 / 433.8 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.0004552/0.2337, allocations: 299.5 kB / 434 MB, free: 5.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2337, allocations: 12.02 kB / 434.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.2338, allocations: 16.83 kB / 434.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.234, allocations: 130.4 kB / 434.2 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.234, allocations: 4.375 kB / 434.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.234, allocations: 12.38 kB / 434.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.2343, allocations: 131.7 kB / 434.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2343, allocations: 3.938 kB / 434.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.2343, allocations: 0 / 434.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.2343, allocations: 3.984 kB / 434.4 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.713e-05/0.2344, allocations: 12 kB / 434.4 MB, free: 4.941 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001612/0.2345, allocations: 152.7 kB / 434.5 MB, free: 4.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.2347, allocations: 66.67 kB / 434.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.846e-05/0.2347, allocations: 28.86 kB / 434.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.2348, allocations: 4 kB / 434.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.2348, allocations: 42.55 kB / 434.7 MB, free: 4.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 2.966e-06/0.2348, allocations: 4 kB / 434.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001825/0.235, allocations: 85.58 kB / 434.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.235, allocations: 55.41 kB / 434.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.2352, allocations: 136.3 kB / 434.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.2352, allocations: 25.7 kB / 435 MB, free: 4.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.2352, allocations: 84.14 kB / 435 MB, free: 4.172 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.2353, allocations: 19.86 kB / 435.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.2353, allocations: 21.67 kB / 435.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2354, allocations: 326.8 kB / 435.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.2355, allocations: 4 kB / 435.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.742e-05/0.2355, allocations: 59.17 kB / 435.5 MB, free: 3.711 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.621e-05/0.2356, allocations: 74.75 kB / 435.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2356, allocations: 0 / 435.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001348/0.2357, allocations: 85.5 kB / 435.6 MB, free: 3.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.2358, allocations: 11.94 kB / 435.6 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2358, allocations: 4.172 kB / 435.6 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2358, allocations: 4 kB / 435.6 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.113e-05/0.2359, allocations: 15.94 kB / 435.6 MB, free: 3.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.2359, allocations: 15.92 kB / 435.7 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.2359, allocations: 7.953 kB / 435.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.2359, allocations: 4 kB / 435.7 MB, free: 3.461 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.0001011/0.236, allocations: 130 kB / 435.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.2361, allocations: 73.73 kB / 435.9 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.2362, allocations: 16.7 kB / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2362, allocations: 0 / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.2362, allocations: 0 / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2362, allocations: 0 / 435.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.2363, allocations: 144.7 kB / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2363, allocations: 0 / 436 MB, free: 3.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.2363, allocations: 16 kB / 436 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.2364, allocations: 3.938 kB / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2364, allocations: 7.938 kB / 436.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2364, allocations: 0 / 436.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2364, allocations: 0 / 436.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.2365, allocations: 97.08 kB / 436.2 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.2365, allocations: 23.81 kB / 436.2 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.2365, allocations: 4 kB / 436.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.718e-05/0.2366, allocations: 0 / 436.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.154e-06/0.2366, allocations: 0 / 436.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.2366, allocations: 8 kB / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.405e-05/0.2367, allocations: 107.2 kB / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2367, allocations: 0 / 436.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.2369, allocations: 8 kB / 436.3 MB, free: 2.754 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 9.782e-05/0.237, allocations: 95.25 kB / 436.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.2371, allocations: 44.3 kB / 436.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.2371, allocations: 4.062 kB / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.2371, allocations: 0 / 436.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.2374, allocations: 46.95 kB / 436.5 MB, free: 2.562 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.2377, allocations: 195.2 kB / 436.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.238, allocations: 0.6963 MB / 437.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.502e-05/0.2381, allocations: 11.44 kB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2381, allocations: 0 / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of Templates: time 0.002353/0.2404, allocations: 0.8157 MB / 438.2 MB, free: 0.7891 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 6.375342863146216]