Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001584/0.001584, allocations: 105.2 kB / 19.8 MB, free: 2.516 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.001972/0.001972, allocations: 213.9 kB / 22.99 MB, free: 5.609 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.742/1.742, allocations: 230.2 MB / 256.2 MB, free: 8.523 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.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 67.89 kB / 376.5 MB, free: 3.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4031, allocations: 53.32 MB / 429.8 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002658/0.4058, allocations: 0.8933 MB / 430.7 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003883/0.4061, allocations: 111.7 kB / 430.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.702e-05/0.4062, allocations: 0 / 430.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.387e-05/0.4063, allocations: 3.938 kB / 430.8 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.4064, allocations: 7.938 kB / 430.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003037/0.4067, allocations: 35.89 kB / 430.8 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.4068, allocations: 47.91 kB / 430.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.4069, allocations: 16 kB / 430.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.796e-05/0.407, allocations: 19.86 kB / 430.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.821e-05/0.407, allocations: 19.91 kB / 430.9 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.407, allocations: 4 kB / 430.9 MB, free: 6.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.191e-05/0.4071, allocations: 4 kB / 430.9 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.501e-05/0.4071, allocations: 15.92 kB / 431 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.4071, allocations: 23.81 kB / 431 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.4073, allocations: 55.53 kB / 431 MB, free: 6.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4073, allocations: 3.938 kB / 431 MB, free: 6.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4073, allocations: 0 / 431 MB, free: 6.324 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.4073, allocations: 4 kB / 431 MB, free: 6.32 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.000456/0.4077, allocations: 372.3 kB / 431.4 MB, free: 5.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.4078, allocations: 8.031 kB / 431.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.4078, allocations: 8.891 kB / 431.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.4081, allocations: 196.2 kB / 431.6 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.4081, allocations: 384 / 431.6 MB, free: 5.664 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.4081, allocations: 4.375 kB / 431.6 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004106/0.4085, allocations: 139.8 kB / 431.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.4085, allocations: 192 / 431.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.4085, allocations: 7.938 kB / 431.8 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.4085, allocations: 0 / 431.8 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.934e-05/0.4086, allocations: 15.98 kB / 431.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.4088, allocations: 165.7 kB / 431.9 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.4089, allocations: 70.66 kB / 432 MB, free: 5.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.152e-05/0.409, allocations: 32.89 kB / 432 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.409, allocations: 0 / 432 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.214e-05/0.4091, allocations: 30.56 kB / 432.1 MB, free: 5.125 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.4091, allocations: 0 / 432.1 MB, free: 5.125 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002244/0.4093, allocations: 101.5 kB / 432.2 MB, free: 5.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.4094, allocations: 59.41 kB / 432.2 MB, free: 4.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.4095, allocations: 133.8 kB / 432.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.4095, allocations: 25.7 kB / 432.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.4096, allocations: 80.14 kB / 432.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.4096, allocations: 11.94 kB / 432.5 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.4097, allocations: 21.72 kB / 432.5 MB, free: 4.656 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4098, allocations: 322.8 kB / 432.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.4098, allocations: 11.98 kB / 432.8 MB, free: 4.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.4099, allocations: 58.88 kB / 432.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.41, allocations: 78.73 kB / 433 MB, free: 4.137 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.41, allocations: 0 / 433 MB, free: 4.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001345/0.4101, allocations: 93.61 kB / 433.1 MB, free: 4.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4102, allocations: 8 kB / 433.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4102, allocations: 3.938 kB / 433.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.4102, allocations: 7.984 kB / 433.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.353e-05/0.4102, allocations: 7.984 kB / 433.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.4102, allocations: 3.938 kB / 433.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.388e-05/0.4103, allocations: 4 kB / 433.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.4103, allocations: 4 kB / 433.1 MB, free: 4 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.0001144/0.4104, allocations: 129.9 kB / 433.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-05/0.4105, allocations: 65.64 kB / 433.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.327e-05/0.4105, allocations: 20.3 kB / 433.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.4105, allocations: 7.938 kB / 433.3 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4105, allocations: 3.938 kB / 433.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4105, allocations: 0 / 433.3 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.4106, allocations: 165.7 kB / 433.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4107, allocations: 0 / 433.5 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.196e-05/0.4107, allocations: 4 kB / 433.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4107, allocations: 0 / 433.5 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.4107, allocations: 3.938 kB / 433.5 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4107, allocations: 7.984 kB / 433.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.4107, allocations: 0 / 433.5 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.4108, allocations: 101.1 kB / 433.6 MB, free: 3.418 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.4109, allocations: 93.05 kB / 433.7 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.4109, allocations: 7.938 kB / 433.7 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.723e-05/0.4109, allocations: 4 kB / 433.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-06/0.4109, allocations: 3.938 kB / 433.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.4109, allocations: 0 / 433.7 MB, free: 3.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.335e-05/0.411, allocations: 105.9 kB / 433.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.411, allocations: 0 / 433.8 MB, free: 3.191 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001986/0.4112, allocations: 8 kB / 433.8 MB, free: 3.184 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.0001233/0.4113, allocations: 103.2 kB / 433.9 MB, free: 3.074 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.4115, allocations: 44.11 kB / 434 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4115, allocations: 0.5 kB / 434 MB, free: 3.031 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.4115, allocations: 7.938 kB / 434 MB, free: 3.023 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.4118, allocations: 40.41 kB / 434 MB, free: 2.984 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003349/0.4121, allocations: 168.8 kB / 434.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.4125, allocations: 0.6924 MB / 434.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.93e-05/0.4125, allocations: 7.953 kB / 434.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.851e-05/0.4126, allocations: 11.44 kB / 434.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4126, allocations: 0 / 434.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of Templates: time 0.00329/0.4159, allocations: 0.6433 MB / 435.5 MB, free: 1.414 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.069805971346796]