Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001613/0.001613, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001527/0.001527, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.632/1.632, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 75.81 kB / 369 MB, free: 6.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3503, allocations: 53.31 MB / 422.3 MB, free: 7.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002754/0.353, allocations: 0.8699 MB / 423.1 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003901/0.3534, allocations: 103.7 kB / 423.2 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.3536, allocations: 8 kB / 423.2 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.794e-05/0.3536, allocations: 3.938 kB / 423.2 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.3538, allocations: 11.92 kB / 423.3 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.354, allocations: 35.89 kB / 423.3 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.3542, allocations: 39.92 kB / 423.3 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.3543, allocations: 15.98 kB / 423.3 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.783e-05/0.3543, allocations: 11.94 kB / 423.4 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.3544, allocations: 23.84 kB / 423.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.3544, allocations: 4 kB / 423.4 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.346e-05/0.3544, allocations: 4 kB / 423.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.11e-05/0.3545, allocations: 19.92 kB / 423.4 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.3545, allocations: 27.8 kB / 423.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.3547, allocations: 51.12 kB / 423.5 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.3547, allocations: 4 kB / 423.5 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3547, allocations: 0 / 423.5 MB, free: 6.625 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3547, allocations: 0 / 423.5 MB, free: 6.625 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.000561/0.3553, allocations: 374 kB / 423.9 MB, free: 6.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.3553, allocations: 12.03 kB / 423.9 MB, free: 6.199 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.3554, allocations: 12.88 kB / 423.9 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.3558, allocations: 192.2 kB / 424.1 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3558, allocations: 4.375 kB / 424.1 MB, free: 5.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.3558, allocations: 8.312 kB / 424.1 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003555/0.3562, allocations: 135.7 kB / 424.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3562, allocations: 192 / 424.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.3562, allocations: 3.938 kB / 424.2 MB, free: 5.801 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3562, allocations: 11.94 kB / 424.2 MB, free: 5.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.036e-05/0.3563, allocations: 12 kB / 424.2 MB, free: 5.777 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002327/0.3565, allocations: 169.6 kB / 424.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.3567, allocations: 62.66 kB / 424.5 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.735e-05/0.3567, allocations: 32.89 kB / 424.5 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.3567, allocations: 4 kB / 424.5 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.3568, allocations: 38.55 kB / 424.5 MB, free: 5.406 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.3568, allocations: 0 / 424.5 MB, free: 5.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002481/0.357, allocations: 93.5 kB / 424.6 MB, free: 5.309 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.3571, allocations: 59.41 kB / 424.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3573, allocations: 133.8 kB / 424.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3573, allocations: 25.7 kB / 424.8 MB, free: 5.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.3574, allocations: 88.14 kB / 424.9 MB, free: 4.977 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.3574, allocations: 7.953 kB / 424.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.3574, allocations: 29.7 kB / 425 MB, free: 4.934 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.3576, allocations: 310.8 kB / 425.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.07e-05/0.3576, allocations: 12 kB / 425.3 MB, free: 4.609 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.815e-05/0.3577, allocations: 58.86 kB / 425.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.576e-05/0.3578, allocations: 74.75 kB / 425.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.3578, allocations: 4 kB / 425.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001605/0.358, allocations: 93.44 kB / 425.5 MB, free: 4.328 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.358, allocations: 4 kB / 425.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.358, allocations: 7.938 kB / 425.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.358, allocations: 0 / 425.5 MB, free: 4.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.139e-05/0.358, allocations: 4 kB / 425.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.358, allocations: 8.188 kB / 425.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.602e-05/0.3581, allocations: 4 kB / 425.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3581, allocations: 7.984 kB / 425.5 MB, free: 4.293 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.0001171/0.3582, allocations: 128.7 kB / 425.7 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.3583, allocations: 69.64 kB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.242e-05/0.3584, allocations: 20.3 kB / 425.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3584, allocations: 0 / 425.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3584, allocations: 192 / 425.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3584, allocations: 0 / 425.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.3585, allocations: 181.6 kB / 425.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3585, allocations: 0 / 425.9 MB, free: 3.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.3585, allocations: 7.875 kB / 425.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.3585, allocations: 0 / 425.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3585, allocations: 3.938 kB / 425.9 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.3585, allocations: 4 kB / 425.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3585, allocations: 0 / 425.9 MB, free: 3.824 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.3587, allocations: 101.1 kB / 426 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.132e-05/0.3588, allocations: 93.05 kB / 426.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.3588, allocations: 7.938 kB / 426.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.13e-05/0.3588, allocations: 3.984 kB / 426.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-06/0.3588, allocations: 0 / 426.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.3588, allocations: 4 kB / 426.2 MB, free: 3.582 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.019e-05/0.3589, allocations: 99.27 kB / 426.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3589, allocations: 0 / 426.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.3591, allocations: 11.94 kB / 426.3 MB, free: 3.473 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.000144/0.3593, allocations: 103.2 kB / 426.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001386/0.3594, allocations: 43.92 kB / 426.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3594, allocations: 0 / 426.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.3594, allocations: 0 / 426.4 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.3598, allocations: 39.94 kB / 426.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/0.3602, allocations: 153.6 kB / 426.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.3606, allocations: 0.7046 MB / 427.3 MB, free: 2.371 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.241e-05/0.3606, allocations: 7.953 kB / 427.3 MB, free: 2.363 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.257e-05/0.3607, allocations: 11.44 kB / 427.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3607, allocations: 0 / 427.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of Templates: time 0.003714/0.3644, allocations: 0.6359 MB / 428 MB, free: 1.719 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches