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.001011/0.001011, allocations: 81.97 kB / 22.21 MB, free: 2.289 MB / 18.57 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.0009906/0.0009906, allocations: 160.9 kB / 25.61 MB, free: 8.902 MB / 18.57 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.022/1.022, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.693e-06/1.693e-06, allocations: 3.938 kB / 274.2 MB, free: 4.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.079e-05, allocations: 5.406 kB / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.002312/0.002342, allocations: 0.9623 MB / 275.2 MB, free: 3.461 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003797/0.002722, allocations: 123.5 kB / 275.3 MB, free: 3.34 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.038e-05/0.002812, allocations: 8.438 kB / 275.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.381e-05/0.002866, allocations: 4.875 kB / 275.3 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001411/0.003007, allocations: 7.938 kB / 275.3 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.00323, allocations: 40.45 kB / 275.4 MB, free: 3.281 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000115/0.003345, allocations: 35.92 kB / 275.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.00345, allocations: 26.03 kB / 275.4 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.551e-05/0.003506, allocations: 23.92 kB / 275.4 MB, free: 3.195 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.319e-05/0.003549, allocations: 15.92 kB / 275.5 MB, free: 3.18 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.003567, allocations: 0 / 275.5 MB, free: 3.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.003579, allocations: 4 kB / 275.5 MB, free: 3.176 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.003628, allocations: 16.52 kB / 275.5 MB, free: 3.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.003659, allocations: 19.92 kB / 275.5 MB, free: 3.141 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.00377, allocations: 32.36 kB / 275.5 MB, free: 3.109 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.003773, allocations: 9.906 kB / 275.5 MB, free: 3.102 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.003774, allocations: 0 / 275.5 MB, free: 3.102 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.277e-06/0.003777, allocations: 0 / 275.5 MB, free: 3.102 MB / 250.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.0003935/0.004171, allocations: 392.3 kB / 275.9 MB, free: 2.684 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.004205, allocations: 12.02 kB / 275.9 MB, free: 2.672 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.004251, allocations: 20.89 kB / 275.9 MB, free: 2.652 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.004428, allocations: 140.4 kB / 276.1 MB, free: 2.488 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.004441, allocations: 4.375 kB / 276.1 MB, free: 2.484 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.004451, allocations: 4.375 kB / 276.1 MB, free: 2.48 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.004644, allocations: 117.3 kB / 276.2 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.004653, allocations: 192 / 276.2 MB, free: 2.352 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-06/0.00466, allocations: 4.375 kB / 276.2 MB, free: 2.348 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.004668, allocations: 4.125 kB / 276.2 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.632e-05/0.004694, allocations: 15.92 kB / 276.2 MB, free: 2.328 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.004805, allocations: 109.2 kB / 276.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.004924, allocations: 55.19 kB / 276.4 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.237e-05/0.004966, allocations: 31.7 kB / 276.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.793e-06/0.004973, allocations: 0 / 276.4 MB, free: 2.094 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.005, allocations: 41.33 kB / 276.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 9.41e-07/0.005001, allocations: 0 / 276.5 MB, free: 2.043 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001483/0.00515, allocations: 69.64 kB / 276.5 MB, free: 1.969 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.005197, allocations: 59.41 kB / 276.6 MB, free: 1.898 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.005306, allocations: 192.5 kB / 276.8 MB, free: 1.695 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.005317, allocations: 25.7 kB / 276.8 MB, free: 1.664 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.005367, allocations: 138.9 kB / 276.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.022e-05/0.005378, allocations: 0 / 276.9 MB, free: 1.523 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.005409, allocations: 19.38 kB / 277 MB, free: 1.496 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.005541, allocations: 0.4883 MB / 277.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.059e-05/0.005552, allocations: 4 kB / 277.4 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.00556, allocations: 3.938 kB / 277.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.324e-05/0.005593, allocations: 19.73 kB / 277.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005595, allocations: 0 / 277.5 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.402e-05/0.005659, allocations: 41.66 kB / 277.5 MB, free: 0.918 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.005674, allocations: 4 kB / 277.5 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.005678, allocations: 3.938 kB / 277.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.005689, allocations: 0 / 277.5 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.518e-05/0.005734, allocations: 4 kB / 277.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.005736, allocations: 0 / 277.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.005752, allocations: 3.938 kB / 277.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.005757, allocations: 4 kB / 277.5 MB, free: 0.8984 MB / 250.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 8.308e-05/0.00584, allocations: 160.5 kB / 277.7 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.005921, allocations: 65.64 kB / 277.8 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.005956, allocations: 12.77 kB / 277.8 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.00596, allocations: 4 kB / 277.8 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.005962, allocations: 0 / 277.8 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.005965, allocations: 0 / 277.8 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.861e-05/0.006053, allocations: 117.1 kB / 277.9 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006055, allocations: 0 / 277.9 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.337e-05/0.006118, allocations: 8 kB / 277.9 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.006123, allocations: 4 kB / 277.9 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.006129, allocations: 4 kB / 277.9 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.006131, allocations: 4 kB / 277.9 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006132, allocations: 0 / 277.9 MB, free: 492 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.212e-05/0.006194, allocations: 80.25 kB / 278 MB, free: 388 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.766e-05/0.006232, allocations: 11.95 kB / 278 MB, free: 376 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.006252, allocations: 7.984 kB / 278 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.932e-05/0.006271, allocations: 0 / 278 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-06/0.006274, allocations: 4 kB / 278 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.006279, allocations: 0 / 278 MB, free: 364 kB / 250.7 MB Notification: Performance of sorting global known variables: time 6.602e-05/0.006345, allocations: 139.2 kB / 278.1 MB, free: 224 kB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006345, allocations: 0 / 278.1 MB, free: 224 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.000198/0.006543, allocations: 8 kB / 278.1 MB, free: 216 kB / 250.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 9.368e-05/0.006637, allocations: 99.25 kB / 278.2 MB, free: 108 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.913e-05/0.006716, allocations: 23.61 kB / 278.3 MB, free: 80 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.006718, allocations: 4 kB / 278.3 MB, free: 76 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.92e-07/0.006718, allocations: 0 / 278.3 MB, free: 76 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.007001, allocations: 34.48 kB / 278.3 MB, free: 40 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.007274, allocations: 155.8 kB / 278.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.299e-05/0.007317, allocations: 66.91 kB / 278.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.794e-05/0.007335, allocations: 8 kB / 278.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.007394, allocations: 82.14 kB / 278.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.007395, allocations: 0 / 278.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of Templates: time 0.003284/0.01068, allocations: 0.6649 MB / 279.3 MB, free: 15.04 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.54560968792066]