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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008193/0.0008194, allocations: 179.8 kB / 17.04 MB, free: 5.113 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 223.3 MB / 241 MB, free: 10.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007975/0.0007974, allocations: 96.75 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002505/0.0002505, allocations: 11.94 kB / 351.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2053, allocations: 50.41 MB / 402.2 MB, free: 32.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.0008658/0.2063, allocations: 0.5668 MB / 402.8 MB, free: 31.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002333/0.2065, allocations: 129.7 kB / 402.9 MB, free: 31.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.2066, allocations: 0 / 402.9 MB, free: 31.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.2066, allocations: 3.938 kB / 402.9 MB, free: 31.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.254e-05/0.2067, allocations: 7.984 kB / 402.9 MB, free: 31.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.2069, allocations: 23.92 kB / 402.9 MB, free: 31.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.596e-05/0.207, allocations: 35.92 kB / 403 MB, free: 31.78 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.348e-05/0.2071, allocations: 22.69 kB / 403 MB, free: 31.76 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.192e-05/0.2071, allocations: 7.938 kB / 403 MB, free: 31.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.059e-05/0.2071, allocations: 19.86 kB / 403 MB, free: 31.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.2072, allocations: 0 / 403 MB, free: 31.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.167e-06/0.2072, allocations: 4 kB / 403 MB, free: 31.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.2072, allocations: 8.516 kB / 403 MB, free: 31.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.2072, allocations: 38.89 kB / 403.1 MB, free: 31.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.561e-05/0.2073, allocations: 35.92 kB / 403.1 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2073, allocations: 0 / 403.1 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2073, allocations: 0 / 403.1 MB, free: 31.64 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.2073, allocations: 2.688 kB / 403.1 MB, free: 31.64 MB / 298.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.0002348/0.2076, allocations: 352.7 kB / 403.4 MB, free: 31.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.2076, allocations: 8.031 kB / 403.5 MB, free: 31.24 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.2076, allocations: 11.86 kB / 403.5 MB, free: 31.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2078, allocations: 190.8 kB / 403.7 MB, free: 31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.2078, allocations: 6.781 kB / 403.7 MB, free: 31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.2078, allocations: 8 kB / 403.7 MB, free: 30.99 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.208, allocations: 131.2 kB / 403.8 MB, free: 30.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.208, allocations: 3.188 kB / 403.8 MB, free: 30.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.208, allocations: 7.891 kB / 403.8 MB, free: 30.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.208, allocations: 0 / 403.8 MB, free: 30.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.461e-05/0.2081, allocations: 19.98 kB / 403.8 MB, free: 30.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.069e-05/0.2082, allocations: 165.7 kB / 404 MB, free: 30.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.854e-05/0.2083, allocations: 70.7 kB / 404.1 MB, free: 30.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.473e-05/0.2083, allocations: 40.89 kB / 404.1 MB, free: 30.49 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.2084, allocations: 3.938 kB / 404.1 MB, free: 30.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.366e-05/0.2084, allocations: 34.56 kB / 404.1 MB, free: 30.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.2084, allocations: 0 / 404.1 MB, free: 30.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001373/0.2085, allocations: 85.58 kB / 404.2 MB, free: 30.36 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.2086, allocations: 59.36 kB / 404.3 MB, free: 30.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.75e-05/0.2086, allocations: 141.8 kB / 404.4 MB, free: 30.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.385e-06/0.2087, allocations: 37.64 kB / 404.5 MB, free: 30.1 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.856e-05/0.2087, allocations: 80.14 kB / 404.5 MB, free: 30.02 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.779e-06/0.2087, allocations: 4 kB / 404.5 MB, free: 30.01 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.2087, allocations: 0 / 404.5 MB, free: 30.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.909e-05/0.2088, allocations: 322.8 kB / 404.8 MB, free: 29.69 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.446e-05/0.2088, allocations: 7.938 kB / 404.9 MB, free: 29.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.929e-05/0.2088, allocations: 58.86 kB / 404.9 MB, free: 29.6 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.594e-05/0.2088, allocations: 20 kB / 404.9 MB, free: 29.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2088, allocations: 0 / 404.9 MB, free: 29.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 8.994e-05/0.2089, allocations: 89.41 kB / 405 MB, free: 29.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.919e-06/0.209, allocations: 4 kB / 405 MB, free: 29.48 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.209, allocations: 4 kB / 405 MB, free: 29.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.209, allocations: 3.984 kB / 405 MB, free: 29.47 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.736e-05/0.209, allocations: 11.94 kB / 405 MB, free: 29.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.209, allocations: 7.953 kB / 405.1 MB, free: 29.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.209, allocations: 0 / 405.1 MB, free: 29.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2091, allocations: 8.25 kB / 405.1 MB, free: 29.45 MB / 298.7 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,unitDelay1.u,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.2091, allocations: 121.8 kB / 405.2 MB, free: 29.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.2092, allocations: 73.53 kB / 405.3 MB, free: 29.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.2092, allocations: 16.36 kB / 405.3 MB, free: 29.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2092, allocations: 0 / 405.3 MB, free: 29.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.2092, allocations: 0 / 405.3 MB, free: 29.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.2092, allocations: 4.141 kB / 405.3 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.119e-05/0.2093, allocations: 169.7 kB / 405.4 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2093, allocations: 3.938 kB / 405.4 MB, free: 29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.014e-05/0.2093, allocations: 4 kB / 405.4 MB, free: 28.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2093, allocations: 0 / 405.4 MB, free: 28.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.2093, allocations: 7.984 kB / 405.5 MB, free: 28.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2093, allocations: 4 kB / 405.5 MB, free: 28.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2093, allocations: 0 / 405.5 MB, free: 28.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.814e-05/0.2094, allocations: 100.9 kB / 405.6 MB, free: 28.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.2095, allocations: 97 kB / 405.6 MB, free: 28.75 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2095, allocations: 0 / 405.6 MB, free: 28.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.474e-05/0.2095, allocations: 8 kB / 405.7 MB, free: 28.74 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-06/0.2095, allocations: 0 / 405.7 MB, free: 28.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.2095, allocations: 4 kB / 405.7 MB, free: 28.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.517e-05/0.2096, allocations: 99.2 kB / 405.8 MB, free: 28.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2096, allocations: 0 / 405.8 MB, free: 28.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001946/0.2098, allocations: 12 kB / 405.8 MB, free: 28.63 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.902e-05/0.2098, allocations: 99.23 kB / 405.9 MB, free: 28.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.601e-05/0.2099, allocations: 43.92 kB / 405.9 MB, free: 28.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2099, allocations: 0 / 405.9 MB, free: 28.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2099, allocations: 0 / 405.9 MB, free: 28.48 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.2102, allocations: 58.72 kB / 406 MB, free: 28.43 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.2104, allocations: 190.8 kB / 406.2 MB, free: 28.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.2105, allocations: 0.6965 MB / 406.8 MB, free: 27.48 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.853e-05/0.2106, allocations: 11.44 kB / 406.9 MB, free: 27.47 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2106, allocations: 0 / 406.9 MB, free: 27.47 MB / 298.7 MB Notification: Performance of Templates: time 0.001587/0.2122, allocations: 0.7911 MB / 407.7 MB, free: 26.68 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches