Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_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_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001619/0.001619, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 226.6 MB / 244.3 MB, free: 8.297 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008011/0.000801, allocations: 100.8 kB / 296.4 MB, free: 7.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.0002673, allocations: 4 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2365, allocations: 51.3 MB / 407.5 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001053/0.2376, allocations: 0.5547 MB / 408.1 MB, free: 27.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003038/0.238, allocations: 123.7 kB / 408.2 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.683e-05/0.2381, allocations: 3.938 kB / 408.2 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.911e-05/0.2381, allocations: 0 / 408.2 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000115/0.2382, allocations: 8.969 kB / 408.2 MB, free: 27.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.2385, allocations: 35.58 kB / 408.2 MB, free: 27.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.152e-05/0.2386, allocations: 35.86 kB / 408.3 MB, free: 27.08 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.2387, allocations: 21.41 kB / 408.3 MB, free: 27.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.773e-05/0.2387, allocations: 11.94 kB / 408.3 MB, free: 27.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.442e-05/0.2388, allocations: 12.55 kB / 408.3 MB, free: 27.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.2388, allocations: 4.844 kB / 408.3 MB, free: 27.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.143e-05/0.2388, allocations: 0 / 408.3 MB, free: 27.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.514e-05/0.2389, allocations: 11.92 kB / 408.3 MB, free: 27.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.2389, allocations: 35.48 kB / 408.4 MB, free: 26.98 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.867e-05/0.239, allocations: 35.92 kB / 408.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.239, allocations: 0 / 408.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.239, allocations: 0 / 408.4 MB, free: 26.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.239, allocations: 0 / 408.4 MB, free: 26.95 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.0002996/0.2393, allocations: 361.4 kB / 408.7 MB, free: 26.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.2393, allocations: 11.97 kB / 408.8 MB, free: 26.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.2394, allocations: 12.59 kB / 408.8 MB, free: 26.53 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.2395, allocations: 178.9 kB / 408.9 MB, free: 26.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.2396, allocations: 10.91 kB / 409 MB, free: 26.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.2396, allocations: 11.94 kB / 409 MB, free: 26.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.2398, allocations: 129.2 kB / 409.1 MB, free: 26.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2398, allocations: 2.5 kB / 409.1 MB, free: 26.16 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.2399, allocations: 4 kB / 409.1 MB, free: 26.15 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.2399, allocations: 0 / 409.1 MB, free: 26.15 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.925e-05/0.2399, allocations: 16 kB / 409.1 MB, free: 26.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001104/0.24, allocations: 173.6 kB / 409.3 MB, free: 25.92 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.2402, allocations: 66.66 kB / 409.3 MB, free: 25.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.2402, allocations: 40.84 kB / 409.4 MB, free: 25.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.2402, allocations: 0 / 409.4 MB, free: 25.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.2402, allocations: 38.56 kB / 409.4 MB, free: 25.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.2402, allocations: 0 / 409.4 MB, free: 25.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001592/0.2404, allocations: 85.52 kB / 409.5 MB, free: 25.66 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.2405, allocations: 59.41 kB / 409.6 MB, free: 25.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.928e-05/0.2406, allocations: 139.4 kB / 409.7 MB, free: 25.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.2406, allocations: 29.7 kB / 409.7 MB, free: 25.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.2406, allocations: 88.12 kB / 409.8 MB, free: 25.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.2406, allocations: 0 / 409.8 MB, free: 25.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.2406, allocations: 4 kB / 409.8 MB, free: 25.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.2407, allocations: 314.8 kB / 410.1 MB, free: 25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.2407, allocations: 11.98 kB / 410.1 MB, free: 24.99 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.246e-05/0.2407, allocations: 54.88 kB / 410.2 MB, free: 24.91 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.156e-05/0.2408, allocations: 27.92 kB / 410.2 MB, free: 24.89 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2408, allocations: 0 / 410.2 MB, free: 24.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001023/0.2409, allocations: 89.42 kB / 410.3 MB, free: 24.79 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2409, allocations: 4 kB / 410.3 MB, free: 24.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2409, allocations: 4 kB / 410.3 MB, free: 24.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2409, allocations: 0 / 410.3 MB, free: 24.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.975e-05/0.241, allocations: 7.938 kB / 410.3 MB, free: 24.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.241, allocations: 8.234 kB / 410.3 MB, free: 24.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.172e-05/0.241, allocations: 4 kB / 410.3 MB, free: 24.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.241, allocations: 8 kB / 410.3 MB, free: 24.76 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 6.382e-05/0.2411, allocations: 122 kB / 410.5 MB, free: 24.63 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.2412, allocations: 77.48 kB / 410.5 MB, free: 24.55 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.003e-05/0.2412, allocations: 16.31 kB / 410.6 MB, free: 24.53 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2412, allocations: 0 / 410.6 MB, free: 24.53 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.2412, allocations: 0 / 410.6 MB, free: 24.53 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.2412, allocations: 3.984 kB / 410.6 MB, free: 24.52 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.311e-05/0.2413, allocations: 173.7 kB / 410.7 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2413, allocations: 0 / 410.7 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.166e-05/0.2413, allocations: 0 / 410.7 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2413, allocations: 0 / 410.7 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.2414, allocations: 3.953 kB / 410.7 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2414, allocations: 4 kB / 410.7 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2414, allocations: 0 / 410.7 MB, free: 24.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.805e-05/0.2415, allocations: 105.3 kB / 410.8 MB, free: 24.18 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.2415, allocations: 97 kB / 410.9 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.2415, allocations: 4 kB / 410.9 MB, free: 24.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.652e-05/0.2415, allocations: 7.891 kB / 410.9 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-06/0.2416, allocations: 0 / 410.9 MB, free: 24.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.2416, allocations: 4 kB / 410.9 MB, free: 24.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.304e-05/0.2416, allocations: 100.7 kB / 411 MB, free: 23.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2416, allocations: 0 / 411 MB, free: 23.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001897/0.2418, allocations: 8 kB / 411.1 MB, free: 23.94 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 8.326e-05/0.2419, allocations: 103.2 kB / 411.2 MB, free: 23.83 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.842e-05/0.242, allocations: 47.92 kB / 411.2 MB, free: 23.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.242, allocations: 0 / 411.2 MB, free: 23.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.21e-07/0.242, allocations: 0 / 411.2 MB, free: 23.79 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.2423, allocations: 44.02 kB / 411.2 MB, free: 23.74 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.2426, allocations: 204.8 kB / 411.4 MB, free: 23.51 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.2427, allocations: 0.6965 MB / 412.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.205e-05/0.2427, allocations: 11.44 kB / 412.2 MB, free: 22.78 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2427, allocations: 0 / 412.2 MB, free: 22.78 MB / 298.7 MB Notification: Performance of Templates: time 0.00183/0.2446, allocations: 0.7784 MB / 412.9 MB, free: 22 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches