Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007725/0.0007725, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001074/0.001847, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006649/0.0006649, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009394/0.001604, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9718/0.9718, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08406/1.056, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 3.938 kB / 239.6 MB, free: 3.172 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.268e-05, allocations: 2.875 kB / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002179/0.002202, allocations: 0.9357 MB / 240.5 MB, free: 2.234 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002354/0.002437, allocations: 117.1 kB / 240.6 MB, free: 2.121 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.002507, allocations: 0 / 240.6 MB, free: 2.121 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.002546, allocations: 3.938 kB / 240.6 MB, free: 2.117 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.207e-05/0.002618, allocations: 19.86 kB / 240.6 MB, free: 2.098 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.0028, allocations: 43.83 kB / 240.7 MB, free: 2.055 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.002906, allocations: 35.91 kB / 240.7 MB, free: 2.02 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.762e-05/0.003003, allocations: 23.88 kB / 240.7 MB, free: 1.996 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.169e-05/0.003075, allocations: 19.98 kB / 240.7 MB, free: 1.977 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.078e-05/0.003116, allocations: 11.92 kB / 240.8 MB, free: 1.965 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.003157, allocations: 4 kB / 240.8 MB, free: 1.961 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.003168, allocations: 4 kB / 240.8 MB, free: 1.957 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.003212, allocations: 11.94 kB / 240.8 MB, free: 1.945 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.003241, allocations: 11.94 kB / 240.8 MB, free: 1.934 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.003359, allocations: 35.83 kB / 240.8 MB, free: 1.898 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.918e-05/0.003378, allocations: 8 kB / 240.8 MB, free: 1.891 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003379, allocations: 0 / 240.8 MB, free: 1.891 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.926e-05/0.003398, allocations: 0 / 240.8 MB, free: 1.891 MB / 234.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.0004293/0.003828, allocations: 288.3 kB / 241.1 MB, free: 1.582 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.003868, allocations: 12.03 kB / 241.1 MB, free: 1.57 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.003904, allocations: 8.922 kB / 241.1 MB, free: 1.562 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.004079, allocations: 129.7 kB / 241.3 MB, free: 1.41 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.004089, allocations: 384 / 241.3 MB, free: 1.41 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.004101, allocations: 12.3 kB / 241.3 MB, free: 1.398 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.004284, allocations: 119.6 kB / 241.4 MB, free: 1.27 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.004292, allocations: 192 / 241.4 MB, free: 1.27 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.0043, allocations: 384 / 241.4 MB, free: 1.27 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.004308, allocations: 4.375 kB / 241.4 MB, free: 1.266 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.004331, allocations: 7.938 kB / 241.4 MB, free: 1.258 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.224e-05/0.004413, allocations: 65 kB / 241.5 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.004543, allocations: 42.55 kB / 241.5 MB, free: 1.129 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.004577, allocations: 32.84 kB / 241.5 MB, free: 1.094 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-06/0.004584, allocations: 0 / 241.5 MB, free: 1.094 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.00461, allocations: 38.5 kB / 241.6 MB, free: 1.047 MB / 234.7 MB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.004611, allocations: 0 / 241.6 MB, free: 1.047 MB / 234.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001219/0.004733, allocations: 61.66 kB / 241.6 MB, free: 0.9805 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.004785, allocations: 59.41 kB / 241.7 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.95e-05/0.004874, allocations: 126.7 kB / 241.8 MB, free: 0.7734 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.004886, allocations: 25.7 kB / 241.8 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.004917, allocations: 84.12 kB / 241.9 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.004929, allocations: 8 kB / 241.9 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.004969, allocations: 21.67 kB / 242 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.005062, allocations: 322.8 kB / 242.3 MB, free: 304 kB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.258e-06/0.005072, allocations: 7.938 kB / 242.3 MB, free: 296 kB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.005078, allocations: 3.938 kB / 242.3 MB, free: 292 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.325e-05/0.005101, allocations: 8.859 kB / 242.3 MB, free: 280 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005103, allocations: 0 / 242.3 MB, free: 280 kB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.964e-05/0.005163, allocations: 37.69 kB / 242.3 MB, free: 236 kB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.005175, allocations: 4 kB / 242.3 MB, free: 232 kB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.005181, allocations: 0 / 242.3 MB, free: 232 kB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.005191, allocations: 96 / 242.3 MB, free: 232 kB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.434e-05/0.005205, allocations: 4 kB / 242.3 MB, free: 228 kB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.005208, allocations: 0 / 242.3 MB, free: 228 kB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.537e-05/0.005223, allocations: 4 kB / 242.3 MB, free: 224 kB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.005227, allocations: 0 / 242.3 MB, free: 224 kB / 234.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.923e-05/0.005296, allocations: 124.5 kB / 242.5 MB, free: 88 kB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.005356, allocations: 53.67 kB / 242.5 MB, free: 28 kB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.912e-05/0.005395, allocations: 8.438 kB / 242.5 MB, free: 16 kB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.005399, allocations: 4 kB / 242.5 MB, free: 12 kB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.0054, allocations: 0 / 242.5 MB, free: 12 kB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.005404, allocations: 0 / 242.5 MB, free: 12 kB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.972e-05/0.005484, allocations: 81.75 kB / 242.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.005487, allocations: 4 kB / 242.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-05/0.005498, allocations: 4 kB / 242.6 MB, free: 15.91 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.005535, allocations: 15.94 kB / 242.6 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.00554, allocations: 3.984 kB / 242.6 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-06/0.005545, allocations: 0 / 242.6 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.005546, allocations: 0 / 242.6 MB, free: 15.89 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.005549, allocations: 3.938 kB / 242.6 MB, free: 15.88 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.911e-05/0.005598, allocations: 57.08 kB / 242.7 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.005617, allocations: 4 kB / 242.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.604e-05/0.005633, allocations: 0 / 242.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-06/0.005636, allocations: 4 kB / 242.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.005642, allocations: 0 / 242.7 MB, free: 15.8 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.978e-05/0.005672, allocations: 27.92 kB / 242.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.005672, allocations: 0 / 242.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001361/0.005808, allocations: 8 kB / 242.7 MB, free: 15.77 MB / 250.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 9.787e-05/0.005906, allocations: 87.53 kB / 242.8 MB, free: 15.68 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 6.99e-05/0.005976, allocations: 16.8 kB / 242.8 MB, free: 15.66 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.005981, allocations: 7.938 kB / 242.8 MB, free: 15.65 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-07/0.005981, allocations: 4.062 kB / 242.8 MB, free: 15.64 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.006189, allocations: 34.48 kB / 242.9 MB, free: 15.61 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.006447, allocations: 168.4 kB / 243 MB, free: 15.42 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.008e-05/0.006487, allocations: 63.34 kB / 243.1 MB, free: 15.34 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.703e-05/0.006504, allocations: 3.938 kB / 243.1 MB, free: 15.33 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.006561, allocations: 55.38 kB / 243.2 MB, free: 15.28 MB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.006562, allocations: 0 / 243.2 MB, free: 15.28 MB / 250.7 MB Notification: Performance of Templates: time 0.002855/0.009416, allocations: 0.6733 MB / 243.8 MB, free: 14.62 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.539321346208453]