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.001317/0.001317, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001532/0.001532, allocations: 203.8 kB / 23.73 MB, free: 4.379 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.001574/0.001574, allocations: 47.92 kB / 378.2 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2894, allocations: 53.36 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002419/0.2918, allocations: 0.8754 MB / 432.4 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000367/0.2922, allocations: 107.6 kB / 432.6 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.863e-05/0.2922, allocations: 3.938 kB / 432.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.654e-05/0.2923, allocations: 11.92 kB / 432.6 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.2924, allocations: 7.938 kB / 432.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.2927, allocations: 35.89 kB / 432.6 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.2928, allocations: 39.86 kB / 432.6 MB, free: 5.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2929, allocations: 27.77 kB / 432.7 MB, free: 5.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.731e-05/0.293, allocations: 15.94 kB / 432.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.895e-05/0.293, allocations: 19.86 kB / 432.7 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.293, allocations: 4 kB / 432.7 MB, free: 5.574 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.374e-05/0.293, allocations: 4 kB / 432.7 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.032e-05/0.2931, allocations: 11.98 kB / 432.7 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.2931, allocations: 23.8 kB / 432.8 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.2933, allocations: 58.42 kB / 432.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.2933, allocations: 0 / 432.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2933, allocations: 0 / 432.8 MB, free: 5.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.2933, allocations: 3.984 kB / 432.8 MB, free: 5.477 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.0004271/0.2937, allocations: 285.8 kB / 433.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2938, allocations: 16.02 kB / 433.1 MB, free: 5.152 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.2938, allocations: 12.83 kB / 433.1 MB, free: 5.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.294, allocations: 134.4 kB / 433.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.294, allocations: 4.375 kB / 433.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.2941, allocations: 4.375 kB / 433.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.2943, allocations: 131.8 kB / 433.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.2943, allocations: 4.188 kB / 433.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2944, allocations: 3.938 kB / 433.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.2944, allocations: 0 / 433.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.2944, allocations: 20 kB / 433.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001298/0.2945, allocations: 113.3 kB / 433.5 MB, free: 4.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.2947, allocations: 70.64 kB / 433.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.2947, allocations: 32.89 kB / 433.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.2947, allocations: 0 / 433.6 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.2948, allocations: 34.56 kB / 433.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.2948, allocations: 3.938 kB / 433.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001923/0.295, allocations: 93.56 kB / 433.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.295, allocations: 63.34 kB / 433.8 MB, free: 4.336 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.2952, allocations: 132.1 kB / 433.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.2952, allocations: 25.7 kB / 434 MB, free: 4.168 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.2952, allocations: 84.14 kB / 434.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.2952, allocations: 11.94 kB / 434.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.2953, allocations: 25.72 kB / 434.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2954, allocations: 318.8 kB / 434.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.083e-05/0.2955, allocations: 12 kB / 434.4 MB, free: 3.707 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.752e-05/0.2955, allocations: 58.8 kB / 434.5 MB, free: 3.625 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.944e-05/0.2956, allocations: 74.75 kB / 434.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2956, allocations: 0 / 434.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001345/0.2958, allocations: 97.48 kB / 434.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.2958, allocations: 4 kB / 434.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2958, allocations: 4 kB / 434.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.2958, allocations: 3.938 kB / 434.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.346e-05/0.2958, allocations: 7.984 kB / 434.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.2958, allocations: 4 kB / 434.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.2959, allocations: 3.938 kB / 434.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.2959, allocations: 4 kB / 434.7 MB, free: 3.395 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.0001289/0.296, allocations: 133.9 kB / 434.8 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.181e-05/0.2961, allocations: 69.62 kB / 434.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.692e-05/0.2961, allocations: 20.36 kB / 434.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2962, allocations: 3.938 kB / 434.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2962, allocations: 0 / 434.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2962, allocations: 7.984 kB / 434.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.2963, allocations: 105.3 kB / 435 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2963, allocations: 4 kB / 435 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.2963, allocations: 3.938 kB / 435 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.2963, allocations: 0 / 435 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2963, allocations: 0 / 435 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2963, allocations: 4 kB / 435 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.2963, allocations: 7.938 kB / 435 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.2964, allocations: 101.1 kB / 435.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/0.2965, allocations: 11.95 kB / 435.1 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.2965, allocations: 3.938 kB / 435.1 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.948e-05/0.2965, allocations: 7.984 kB / 435.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-06/0.2965, allocations: 3.938 kB / 435.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.2965, allocations: 4 kB / 435.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.91e-05/0.2966, allocations: 106.4 kB / 435.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2966, allocations: 0 / 435.3 MB, free: 2.742 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002104/0.2968, allocations: 8 kB / 435.3 MB, free: 2.734 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.0001314/0.297, allocations: 103.2 kB / 435.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.2971, allocations: 43.92 kB / 435.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2971, allocations: 0 / 435.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.02e-07/0.2971, allocations: 192 / 435.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.2974, allocations: 46.28 kB / 435.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.2977, allocations: 165.5 kB / 435.6 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.485e-05/0.2978, allocations: 83.81 kB / 435.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.948e-05/0.2979, allocations: 7.953 kB / 435.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.2979, allocations: 7.438 kB / 435.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2979, allocations: 0 / 435.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of Templates: time 0.003356/0.3012, allocations: 0.7074 MB / 436.4 MB, free: 1.543 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins/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: 4.653262094128877]