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.001002/0.001002, allocations: 71.75 kB / 21.69 MB, free: 2.848 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.001157/0.001157, allocations: 160.9 kB / 24.99 MB, free: 9.32 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.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.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 1.343e-06/1.343e-06, allocations: 0 / 273.1 MB, free: 1.852 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.379e-05/2.513e-05, allocations: 2.312 kB / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.004826/0.004851, allocations: 0.8963 MB / 274 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003233/0.005174, allocations: 127.5 kB / 274.1 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.601e-05/0.00526, allocations: 0 / 274.1 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.008e-05/0.00531, allocations: 3.938 kB / 274.1 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.005438, allocations: 11.94 kB / 274.1 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002105/0.005649, allocations: 43.77 kB / 274.1 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.478e-05/0.005743, allocations: 31.92 kB / 274.2 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.005845, allocations: 23.97 kB / 274.2 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.242e-05/0.005898, allocations: 23.92 kB / 274.2 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.818e-05/0.005926, allocations: 11.98 kB / 274.2 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.005948, allocations: 4 kB / 274.2 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.138e-06/0.005957, allocations: 0 / 274.2 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.855e-05/0.006006, allocations: 19.92 kB / 274.2 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.006038, allocations: 19.91 kB / 274.3 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.006144, allocations: 31.83 kB / 274.3 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.006147, allocations: 0 / 274.3 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006147, allocations: 4 kB / 274.3 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.017e-06/0.006151, allocations: 0 / 274.3 MB, free: 0.6016 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.0003613/0.006513, allocations: 400.3 kB / 274.7 MB, free: 176 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.006552, allocations: 12.03 kB / 274.7 MB, free: 164 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.006596, allocations: 12.89 kB / 274.7 MB, free: 152 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.006781, allocations: 132.5 kB / 274.8 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.006794, allocations: 8.312 kB / 274.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.006805, allocations: 4.375 kB / 274.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.007022, allocations: 129.4 kB / 275 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.007029, allocations: 192 / 275 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.00704, allocations: 8.375 kB / 275 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.007048, allocations: 384 / 275 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.797e-05/0.007076, allocations: 11.94 kB / 275 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003119/0.0102, allocations: 128.6 kB / 275.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.01032, allocations: 67.16 kB / 275.2 MB, free: 15.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.01037, allocations: 31.69 kB / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.01037, allocations: 0 / 275.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.01039, allocations: 45.38 kB / 275.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.0104, allocations: 0 / 275.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001586/0.01055, allocations: 77.62 kB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.0106, allocations: 55.34 kB / 275.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.01092, allocations: 196.9 kB / 275.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.669e-06/0.01093, allocations: 25.7 kB / 275.6 MB, free: 15.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.01097, allocations: 134.9 kB / 275.8 MB, free: 14.97 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.01098, allocations: 3.953 kB / 275.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.01102, allocations: 27.36 kB / 275.8 MB, free: 14.93 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.01113, allocations: 496.1 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.01114, allocations: 4 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.01115, allocations: 4 kB / 276.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.523e-05/0.01117, allocations: 15.69 kB / 276.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01118, allocations: 4 kB / 276.3 MB, free: 14.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.512e-05/0.01123, allocations: 41.62 kB / 276.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.01124, allocations: 4 kB / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.01125, allocations: 0 / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.01126, allocations: 4 kB / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.081e-05/0.01127, allocations: 0 / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.01127, allocations: 0 / 276.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.302e-05/0.01129, allocations: 8.031 kB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.01129, allocations: 0 / 276.3 MB, free: 14.34 MB / 266.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: 2 ($CLKPRE.unitDelay1.u,unitDelay1.u) * 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 6.85e-05/0.01136, allocations: 160.6 kB / 276.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.114e-05/0.01142, allocations: 65.64 kB / 276.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.01145, allocations: 8.438 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.01146, allocations: 4 kB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.01146, allocations: 0 / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.01146, allocations: 7.922 kB / 276.6 MB, free: 14.08 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.498e-05/0.01153, allocations: 124.6 kB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.01153, allocations: 0 / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-06/0.01154, allocations: 11.94 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.01154, allocations: 0 / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.01154, allocations: 4 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01155, allocations: 0 / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01155, allocations: 0 / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.775e-05/0.01163, allocations: 108.3 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.01167, allocations: 15.94 kB / 276.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.01169, allocations: 4 kB / 276.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.323e-05/0.0117, allocations: 0 / 276.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-06/0.0117, allocations: 0 / 276.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.01171, allocations: 0 / 276.9 MB, free: 13.76 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.833e-05/0.01175, allocations: 139.2 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01175, allocations: 4 kB / 277 MB, free: 13.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.01192, allocations: 8 kB / 277 MB, free: 13.61 MB / 266.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: 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 8.26e-05/0.01201, allocations: 111.1 kB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.811e-05/0.01208, allocations: 27.62 kB / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01209, allocations: 0 / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.11e-07/0.01209, allocations: 0 / 277.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.01234, allocations: 40.92 kB / 277.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.01256, allocations: 163.4 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.01259, allocations: 66.61 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.367e-05/0.01261, allocations: 4 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.01263, allocations: 12.5 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01263, allocations: 0 / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of Templates: time 0.005361/0.01799, allocations: 0.6374 MB / 278.1 MB, free: 12.51 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] 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","",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.8678739718161523]