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) 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) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 108.1 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002418/0.002418, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.683/2.683, allocations: 222.9 MB / 241.8 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.00203, allocations: 47.58 kB / 300.6 MB, free: 6.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2124, allocations: 49.44 MB / 350 MB, free: 4.844 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.006644/0.2192, allocations: 0.9255 MB / 351 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006188/0.2199, allocations: 119.6 kB / 351.1 MB, free: 3.793 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.2201, allocations: 7.938 kB / 351.1 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.257e-05/0.2203, allocations: 3.984 kB / 351.1 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.2205, allocations: 3.938 kB / 351.1 MB, free: 3.777 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.221, allocations: 29.84 kB / 351.1 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.2212, allocations: 39.86 kB / 351.2 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001914/0.2214, allocations: 19.98 kB / 351.2 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.053e-05/0.2215, allocations: 19.92 kB / 351.2 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.733e-05/0.2216, allocations: 15.92 kB / 351.2 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.2217, allocations: 4 kB / 351.2 MB, free: 3.652 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.442e-05/0.2217, allocations: 4 kB / 351.2 MB, free: 3.648 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.856e-05/0.2218, allocations: 11.92 kB / 351.2 MB, free: 3.637 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.828e-05/0.2219, allocations: 27.8 kB / 351.3 MB, free: 3.609 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.2221, allocations: 31.95 kB / 351.3 MB, free: 3.578 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.2221, allocations: 0 / 351.3 MB, free: 3.578 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2221, allocations: 3.938 kB / 351.3 MB, free: 3.574 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.2221, allocations: 0 / 351.3 MB, free: 3.574 MB / 286.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.0007552/0.2229, allocations: 371.5 kB / 351.7 MB, free: 3.16 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.891e-05/0.223, allocations: 8.031 kB / 351.7 MB, free: 3.152 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.062e-05/0.223, allocations: 8.844 kB / 351.7 MB, free: 3.145 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.2234, allocations: 203.6 kB / 351.9 MB, free: 2.91 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.2235, allocations: 384 / 351.9 MB, free: 2.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.2235, allocations: 8.375 kB / 351.9 MB, free: 2.902 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000552/0.2241, allocations: 135.7 kB / 352 MB, free: 2.758 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2241, allocations: 4.188 kB / 352 MB, free: 2.754 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.2242, allocations: 3.938 kB / 352 MB, free: 2.75 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.2242, allocations: 3.984 kB / 352 MB, free: 2.746 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.513e-05/0.2243, allocations: 19.98 kB / 352.1 MB, free: 2.727 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.2247, allocations: 165.7 kB / 352.2 MB, free: 2.516 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.225, allocations: 70.69 kB / 352.3 MB, free: 2.438 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.2252, allocations: 36.86 kB / 352.3 MB, free: 2.398 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.2253, allocations: 0 / 352.3 MB, free: 2.398 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.718e-05/0.2253, allocations: 34.55 kB / 352.4 MB, free: 2.355 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 3.025e-06/0.2253, allocations: 4 kB / 352.4 MB, free: 2.352 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004154/0.2258, allocations: 89.52 kB / 352.5 MB, free: 2.258 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.2259, allocations: 71.22 kB / 352.5 MB, free: 2.176 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.2261, allocations: 133.8 kB / 352.7 MB, free: 2.035 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.2262, allocations: 29.7 kB / 352.7 MB, free: 2 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.195e-05/0.2263, allocations: 84.14 kB / 352.8 MB, free: 1.914 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.2263, allocations: 7.984 kB / 352.8 MB, free: 1.906 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.2264, allocations: 29.62 kB / 352.8 MB, free: 1.871 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.2266, allocations: 314.8 kB / 353.1 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.2266, allocations: 8 kB / 353.1 MB, free: 1.547 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/0.2268, allocations: 62.86 kB / 353.2 MB, free: 1.461 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.227, allocations: 70.75 kB / 353.2 MB, free: 1.367 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.227, allocations: 0 / 353.2 MB, free: 1.367 MB / 286.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002384/0.2272, allocations: 85.5 kB / 353.3 MB, free: 1.277 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.2273, allocations: 11.98 kB / 353.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.2273, allocations: 4.188 kB / 353.3 MB, free: 1.262 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.2274, allocations: 8 kB / 353.4 MB, free: 1.254 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.157e-05/0.2274, allocations: 4 kB / 353.4 MB, free: 1.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.2274, allocations: 0 / 353.4 MB, free: 1.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.735e-05/0.2275, allocations: 11.91 kB / 353.4 MB, free: 1.238 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.2275, allocations: 4 kB / 353.4 MB, free: 1.234 MB / 286.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.0001828/0.2277, allocations: 129.8 kB / 353.5 MB, free: 1.098 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.2279, allocations: 69.91 kB / 353.6 MB, free: 1.023 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.841e-05/0.228, allocations: 20.3 kB / 353.6 MB, free: 1 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.228, allocations: 4 kB / 353.6 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.2281, allocations: 0 / 353.6 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2281, allocations: 0 / 353.6 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001954/0.2283, allocations: 165.7 kB / 353.8 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2283, allocations: 0 / 353.8 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-05/0.2283, allocations: 11.92 kB / 353.8 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.2283, allocations: 0 / 353.8 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.2284, allocations: 3.938 kB / 353.8 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2284, allocations: 0 / 353.8 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2284, allocations: 0 / 353.8 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.2286, allocations: 101 kB / 353.9 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.2288, allocations: 96.94 kB / 354 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.2288, allocations: 7.938 kB / 354 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.317e-05/0.2289, allocations: 4 kB / 354 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-06/0.2289, allocations: 4.125 kB / 354 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.2289, allocations: 0 / 354 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001297/0.2291, allocations: 114.1 kB / 354.1 MB, free: 424 kB / 286.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.2291, allocations: 0 / 354.1 MB, free: 424 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004018/0.2295, allocations: 8 kB / 354.1 MB, free: 416 kB / 286.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.0001976/0.2297, allocations: 111.1 kB / 354.2 MB, free: 296 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.2299, allocations: 39.92 kB / 354.2 MB, free: 256 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.23, allocations: 4 kB / 354.2 MB, free: 252 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.23, allocations: 0 / 354.2 MB, free: 252 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.2306, allocations: 39.95 kB / 354.3 MB, free: 212 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006211/0.2312, allocations: 205.6 kB / 354.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.2317, allocations: 0.6926 MB / 355.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.2318, allocations: 11.44 kB / 355.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2318, allocations: 0 / 355.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of Templates: time 0.00411/0.2359, allocations: 0.7885 MB / 356 MB, free: 14.45 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches