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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001999/0.001999, allocations: 119.5 kB / 21.17 MB, free: 0.7305 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.002478/0.002478, allocations: 213.5 kB / 24.47 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.471/1.471, allocations: 230.4 MB / 258.1 MB, free: 8.137 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-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=5010,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=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "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.001954/0.001954, allocations: 71.84 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.274, allocations: 53.31 MB / 432 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002612/0.2766, allocations: 0.8791 MB / 432.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004279/0.2771, allocations: 115.6 kB / 433 MB, free: 6.375 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.2772, allocations: 8 kB / 433 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.393e-05/0.2772, allocations: 3.938 kB / 433 MB, free: 6.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.2773, allocations: 3.938 kB / 433 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.2776, allocations: 35.91 kB / 433.1 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.2777, allocations: 51.83 kB / 433.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.2778, allocations: 8 kB / 433.1 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.2779, allocations: 19.92 kB / 433.2 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.826e-05/0.2779, allocations: 19.86 kB / 433.2 MB, free: 6.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.2779, allocations: 4 kB / 433.2 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.441e-05/0.2779, allocations: 4 kB / 433.2 MB, free: 6.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.278, allocations: 15.98 kB / 433.2 MB, free: 6.203 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.2781, allocations: 27.75 kB / 433.2 MB, free: 6.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.2782, allocations: 55.53 kB / 433.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2782, allocations: 4 kB / 433.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2782, allocations: 0 / 433.3 MB, free: 6.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2782, allocations: 0 / 433.3 MB, free: 6.121 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.0005063/0.2787, allocations: 368.9 kB / 433.6 MB, free: 5.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.2788, allocations: 12.03 kB / 433.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.2788, allocations: 8.891 kB / 433.7 MB, free: 5.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000294/0.2791, allocations: 200.1 kB / 433.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2791, allocations: 8.375 kB / 433.9 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.2791, allocations: 4.375 kB / 433.9 MB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.2794, allocations: 123.8 kB / 434 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.2795, allocations: 192 / 434 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2795, allocations: 11.94 kB / 434 MB, free: 5.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2795, allocations: 4 kB / 434 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.884e-05/0.2795, allocations: 19.92 kB / 434 MB, free: 5.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.2797, allocations: 165.7 kB / 434.2 MB, free: 5.066 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.2799, allocations: 58.66 kB / 434.3 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.576e-05/0.2799, allocations: 36.89 kB / 434.3 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.28, allocations: 8 kB / 434.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.28, allocations: 34.55 kB / 434.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.28, allocations: 0 / 434.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.000218/0.2802, allocations: 89.52 kB / 434.4 MB, free: 4.816 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.2803, allocations: 59.41 kB / 434.5 MB, free: 4.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2804, allocations: 125.8 kB / 434.6 MB, free: 4.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.2804, allocations: 29.7 kB / 434.6 MB, free: 4.578 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.876e-05/0.2805, allocations: 84.14 kB / 434.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.2805, allocations: 19.92 kB / 434.7 MB, free: 4.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.2806, allocations: 21.72 kB / 434.8 MB, free: 4.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.2807, allocations: 318.8 kB / 435.1 MB, free: 4.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.2807, allocations: 12 kB / 435.1 MB, free: 4.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.929e-05/0.2808, allocations: 62.8 kB / 435.1 MB, free: 4.027 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.645e-05/0.2809, allocations: 70.81 kB / 435.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.2809, allocations: 4 kB / 435.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001474/0.2811, allocations: 89.39 kB / 435.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2811, allocations: 6.812 kB / 435.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.2811, allocations: 15.92 kB / 435.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.2811, allocations: 3.984 kB / 435.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.603e-05/0.2811, allocations: 11.94 kB / 435.3 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.2811, allocations: 8.25 kB / 435.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.2812, allocations: 0 / 435.3 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.2812, allocations: 4 kB / 435.3 MB, free: 3.789 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.0001119/0.2813, allocations: 126.8 kB / 435.5 MB, free: 3.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2814, allocations: 69.58 kB / 435.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.2814, allocations: 20.3 kB / 435.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2814, allocations: 0 / 435.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2814, allocations: 0 / 435.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2814, allocations: 4 kB / 435.6 MB, free: 3.559 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.2816, allocations: 169.7 kB / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2816, allocations: 0 / 435.7 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.2816, allocations: 4 kB / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2816, allocations: 192 / 435.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.2816, allocations: 7.922 kB / 435.7 MB, free: 3.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.2816, allocations: 7.938 kB / 435.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2816, allocations: 0 / 435.7 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.2818, allocations: 101.4 kB / 435.8 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/0.2819, allocations: 97.05 kB / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.2819, allocations: 3.938 kB / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/0.2819, allocations: 4 kB / 435.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-06/0.2819, allocations: 0 / 435.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.2819, allocations: 4 kB / 436 MB, free: 3.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.003e-05/0.282, allocations: 102.2 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.282, allocations: 0 / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00023/0.2822, allocations: 12 kB / 436.1 MB, free: 2.973 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.0001393/0.2824, allocations: 99.25 kB / 436.2 MB, free: 2.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.2825, allocations: 47.91 kB / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2825, allocations: 0 / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.2825, allocations: 0 / 436.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.2828, allocations: 43.94 kB / 436.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003965/0.2832, allocations: 187.2 kB / 436.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003799/0.2836, allocations: 0.7006 MB / 437.1 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.2836, allocations: 15.44 kB / 437.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2836, allocations: 0 / 437.1 MB, free: 1.816 MB / 334.1 MB Notification: Performance of Templates: time 0.002634/0.2863, allocations: 0.8023 MB / 437.9 MB, free: 1.016 MB / 334.1 MB " [Timeout remaining time 660] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.754270566627383]