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.0009078/0.0009078, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009815/0.0009815, allocations: 166 kB / 24.82 MB, free: 9.266 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.01/1.01, allocations: 177.1 MB / 205.3 MB, free: 5.469 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 2.565e-06/2.565e-06, allocations: 0 / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.804e-05/4.061e-05, allocations: 2.312 kB / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002701/0.002742, allocations: 0.9028 MB / 274.3 MB, free: 380 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004663/0.003208, allocations: 115.6 kB / 274.4 MB, free: 264 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.003312, allocations: 3.938 kB / 274.4 MB, free: 260 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.031e-05/0.003372, allocations: 7.922 kB / 274.4 MB, free: 252 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.003516, allocations: 3.938 kB / 274.4 MB, free: 248 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.003782, allocations: 47.83 kB / 274.5 MB, free: 200 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.003893, allocations: 35.92 kB / 274.5 MB, free: 164 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.004001, allocations: 15.97 kB / 274.5 MB, free: 148 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.333e-05/0.004064, allocations: 23.92 kB / 274.5 MB, free: 124 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.808e-05/0.004103, allocations: 11.92 kB / 274.5 MB, free: 112 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.004126, allocations: 4 kB / 274.6 MB, free: 108 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.409e-05/0.00414, allocations: 4 kB / 274.6 MB, free: 104 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.004195, allocations: 15.97 kB / 274.6 MB, free: 88 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.736e-05/0.004222, allocations: 11.94 kB / 274.6 MB, free: 76 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.004361, allocations: 43.77 kB / 274.6 MB, free: 32 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.004365, allocations: 4 kB / 274.6 MB, free: 28 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004366, allocations: 0 / 274.6 MB, free: 28 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.00437, allocations: 0 / 274.6 MB, free: 28 kB / 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.0004452/0.004815, allocations: 400.3 kB / 275 MB, free: 15.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.004864, allocations: 12.02 kB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.004906, allocations: 12.89 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001899/0.005096, allocations: 140.5 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.005109, allocations: 4.375 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.005123, allocations: 8.375 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.005358, allocations: 109.5 kB / 275.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.00537, allocations: 4.172 kB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.005384, allocations: 4.375 kB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.005392, allocations: 384 / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.827e-05/0.00542, allocations: 15.92 kB / 275.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.005545, allocations: 109.2 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.005683, allocations: 59.08 kB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.005726, allocations: 35.69 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.005735, allocations: 4 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.005766, allocations: 37.39 kB / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/0.005769, allocations: 0 / 275.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001716/0.00594, allocations: 73.58 kB / 275.6 MB, free: 14.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.005993, allocations: 55.41 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.00612, allocations: 193.4 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.006135, allocations: 29.7 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.006191, allocations: 130.9 kB / 276 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.006207, allocations: 3.953 kB / 276 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.006249, allocations: 23.38 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.006423, allocations: 0.4922 MB / 276.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.006438, allocations: 7.984 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.191e-05/0.00645, allocations: 4 kB / 276.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.339e-05/0.006483, allocations: 11.62 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.006485, allocations: 0 / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.597e-05/0.006571, allocations: 37.7 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.006589, allocations: 4 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.006595, allocations: 0 / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.00661, allocations: 0 / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.57e-05/0.006626, allocations: 4.094 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.006629, allocations: 0 / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.006647, allocations: 0 / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-06/0.006655, allocations: 11.92 kB / 276.6 MB, free: 13.82 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 9.964e-05/0.006755, allocations: 156.6 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/0.006843, allocations: 61.59 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.006899, allocations: 12.42 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.006904, allocations: 4 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.006906, allocations: 0 / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.006911, allocations: 0 / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.007013, allocations: 117.1 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.007016, allocations: 4 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.205e-05/0.007028, allocations: 0 / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.007031, allocations: 0 / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.007038, allocations: 7.938 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.00704, allocations: 0 / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.007043, allocations: 4 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.033e-05/0.007123, allocations: 72.31 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.007173, allocations: 11.95 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.007198, allocations: 4 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.914e-05/0.007217, allocations: 0 / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-06/0.007221, allocations: 4 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.007227, allocations: 3.984 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.227e-05/0.0073, allocations: 147.1 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0073, allocations: 0 / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002137/0.007513, allocations: 4 kB / 277.2 MB, free: 13.14 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 0.0001292/0.007643, allocations: 99.25 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.115e-05/0.007734, allocations: 19.69 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.007736, allocations: 0 / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.71e-07/0.007737, allocations: 4.062 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.008053, allocations: 41.52 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.008363, allocations: 159.3 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.848e-05/0.008412, allocations: 67.34 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.047e-05/0.008432, allocations: 3.984 kB / 277.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.268e-05/0.008505, allocations: 74.2 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.008505, allocations: 0 / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of Templates: time 0.003138/0.01164, allocations: 0.6647 MB / 278.4 MB, free: 11.97 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.6936938329599798]