Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001293/0.001293, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001439/0.001439, allocations: 206.1 kB / 24.48 MB, free: 3.695 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.442/1.442, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 51.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3005, allocations: 53.36 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002254/0.3028, allocations: 0.881 MB / 433.2 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003343/0.3031, allocations: 107.6 kB / 433.3 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.32e-05/0.3032, allocations: 7.938 kB / 433.3 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.239e-05/0.3032, allocations: 7.938 kB / 433.3 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.3033, allocations: 11.92 kB / 433.3 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.3036, allocations: 35.89 kB / 433.4 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.3037, allocations: 43.86 kB / 433.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3038, allocations: 19.78 kB / 433.4 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.543e-05/0.3038, allocations: 15.94 kB / 433.4 MB, free: 5.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.425e-05/0.3038, allocations: 19.86 kB / 433.5 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.3039, allocations: 4 kB / 433.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.3039, allocations: 0 / 433.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.514e-05/0.3039, allocations: 15.98 kB / 433.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.304, allocations: 27.73 kB / 433.5 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.3041, allocations: 55.47 kB / 433.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3041, allocations: 0 / 433.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3041, allocations: 0 / 433.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.3041, allocations: 0 / 433.6 MB, free: 5.484 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.0003839/0.3045, allocations: 289.2 kB / 433.8 MB, free: 5.172 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3045, allocations: 8.031 kB / 433.9 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.3045, allocations: 16.83 kB / 433.9 MB, free: 5.148 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.3048, allocations: 142.3 kB / 434 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3048, allocations: 4.375 kB / 434 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.3048, allocations: 12.38 kB / 434 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.3051, allocations: 119.9 kB / 434.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3051, allocations: 192 / 434.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.3051, allocations: 3.938 kB / 434.2 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3051, allocations: 4 kB / 434.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.553e-05/0.3051, allocations: 15.98 kB / 434.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.3053, allocations: 113.3 kB / 434.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.3054, allocations: 66.66 kB / 434.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.196e-05/0.3055, allocations: 32.89 kB / 434.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.3055, allocations: 4 kB / 434.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3055, allocations: 30.56 kB / 434.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.3055, allocations: 3.938 kB / 434.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001863/0.3057, allocations: 93.73 kB / 434.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.3058, allocations: 63.47 kB / 434.6 MB, free: 4.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3059, allocations: 133.1 kB / 434.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.3059, allocations: 29.7 kB / 434.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.3059, allocations: 80.14 kB / 434.8 MB, free: 4.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.454e-05/0.306, allocations: 7.953 kB / 434.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.306, allocations: 33.7 kB / 434.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3061, allocations: 318.8 kB / 435.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.291e-05/0.3062, allocations: 11.98 kB / 435.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-05/0.3062, allocations: 66.73 kB / 435.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.612e-05/0.3063, allocations: 74.8 kB / 435.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3063, allocations: 0 / 435.3 MB, free: 3.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001366/0.3065, allocations: 89.45 kB / 435.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3065, allocations: 8 kB / 435.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3065, allocations: 0 / 435.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3065, allocations: 7.938 kB / 435.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.717e-05/0.3066, allocations: 8.172 kB / 435.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.3066, allocations: 12 kB / 435.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.43e-05/0.3066, allocations: 4 kB / 435.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3067, allocations: 4 kB / 435.4 MB, free: 3.391 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: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,$CLKPRE.unitDelay1.u,unitDelay1.u,assignClock1.y,assignClock1.u) * 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.0001013/0.3068, allocations: 125.8 kB / 435.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/0.3068, allocations: 69.58 kB / 435.6 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.343e-05/0.3069, allocations: 12.38 kB / 435.6 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.3069, allocations: 7.938 kB / 435.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3069, allocations: 0 / 435.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.3069, allocations: 3.984 kB / 435.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.645e-05/0.307, allocations: 113.3 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.307, allocations: 0 / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.648e-06/0.307, allocations: 0 / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.307, allocations: 4 kB / 435.8 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.307, allocations: 3.984 kB / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.307, allocations: 0 / 435.8 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3071, allocations: 3.938 kB / 435.8 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.3072, allocations: 105 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.3072, allocations: 15.94 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3072, allocations: 7.938 kB / 435.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.45e-05/0.3072, allocations: 0 / 435.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-06/0.3073, allocations: 7.938 kB / 435.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.3073, allocations: 4 kB / 435.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.711e-05/0.3073, allocations: 103.2 kB / 436 MB, free: 2.746 MB / 334.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3073, allocations: 0 / 436 MB, free: 2.746 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002043/0.3075, allocations: 8 kB / 436 MB, free: 2.738 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * 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.0001018/0.3076, allocations: 99.25 kB / 436.1 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.3078, allocations: 40.36 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3078, allocations: 0 / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.3078, allocations: 4.25 kB / 436.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.308, allocations: 49.62 kB / 436.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.3084, allocations: 187.2 kB / 436.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.868e-05/0.3084, allocations: 79.33 kB / 436.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.3085, allocations: 7.438 kB / 436.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3085, allocations: 0 / 436.5 MB, free: 2.223 MB / 334.1 MB Notification: Performance of Templates: time 0.002235/0.3107, allocations: 0.8127 MB / 437.3 MB, free: 1.41 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.760201733966824]