Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001503/0.001503, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001405/0.001405, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.589/1.589, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 61.36 kB / 307 MB, free: 0.582 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1222, allocations: 50.54 MB / 357.5 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002696/0.125, allocations: 0.8602 MB / 358.4 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003793/0.1254, allocations: 111.7 kB / 358.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.073e-05/0.1255, allocations: 0 / 358.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.816e-05/0.1255, allocations: 3.938 kB / 358.5 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.1257, allocations: 7.938 kB / 358.5 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.1259, allocations: 39.89 kB / 358.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.126, allocations: 31.92 kB / 358.6 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1262, allocations: 23.97 kB / 358.6 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.597e-05/0.1262, allocations: 23.86 kB / 358.6 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.1263, allocations: 23.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.1263, allocations: 4 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.484e-05/0.1263, allocations: 4 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.421e-05/0.1264, allocations: 11.94 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.1264, allocations: 27.8 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.1266, allocations: 51.8 kB / 358.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.795e-06/0.1266, allocations: 0 / 358.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1266, allocations: 3.938 kB / 358.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1266, allocations: 0 / 358.8 MB, free: 12.82 MB / 302.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.0004947/0.1271, allocations: 371.5 kB / 359.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.1271, allocations: 11.97 kB / 359.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.1272, allocations: 12.84 kB / 359.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1274, allocations: 182.9 kB / 359.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.1275, allocations: 8.375 kB / 359.3 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1275, allocations: 4.375 kB / 359.3 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.1278, allocations: 135.7 kB / 359.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1278, allocations: 192 / 359.5 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.1278, allocations: 3.938 kB / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1278, allocations: 4 kB / 359.5 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.99e-05/0.1279, allocations: 16 kB / 359.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.1281, allocations: 169.6 kB / 359.7 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.1283, allocations: 74.64 kB / 359.7 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.242e-05/0.1283, allocations: 36.89 kB / 359.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.1283, allocations: 3.938 kB / 359.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.1284, allocations: 34.56 kB / 359.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1284, allocations: 3.938 kB / 359.8 MB, free: 11.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002229/0.1286, allocations: 89.52 kB / 359.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.1287, allocations: 63.34 kB / 360 MB, free: 11.43 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.1288, allocations: 133.8 kB / 360.1 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.1289, allocations: 33.7 kB / 360.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.466e-05/0.1289, allocations: 88.12 kB / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.1289, allocations: 0 / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.129, allocations: 29.62 kB / 360.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.1292, allocations: 318.8 kB / 360.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.1292, allocations: 8 kB / 360.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-05/0.1293, allocations: 58.86 kB / 360.6 MB, free: 10.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.583e-05/0.1293, allocations: 74.75 kB / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1294, allocations: 0 / 360.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001351/0.1295, allocations: 89.48 kB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1295, allocations: 7.281 kB / 360.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1295, allocations: 8.188 kB / 360.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.1296, allocations: 8 kB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.631e-05/0.1296, allocations: 0 / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1296, allocations: 4 kB / 360.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.1296, allocations: 7.906 kB / 360.8 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.1297, allocations: 4 kB / 360.8 MB, free: 10.49 MB / 302.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.0001141/0.1298, allocations: 129.8 kB / 360.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1299, allocations: 69.59 kB / 361 MB, free: 10.28 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.1299, allocations: 16.3 kB / 361 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1299, allocations: 8 kB / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.13, allocations: 0 / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.13, allocations: 0 / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.1301, allocations: 169.6 kB / 361.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1301, allocations: 4 kB / 361.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.1302, allocations: 3.938 kB / 361.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1302, allocations: 4 kB / 361.2 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/0.1302, allocations: 3.938 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1302, allocations: 0 / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1302, allocations: 0 / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.1303, allocations: 105.2 kB / 361.3 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-05/0.1304, allocations: 92.94 kB / 361.4 MB, free: 9.793 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.1305, allocations: 15.81 kB / 361.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.518e-05/0.1305, allocations: 0 / 361.4 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.845e-06/0.1305, allocations: 4 kB / 361.4 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.251e-06/0.1305, allocations: 3.984 kB / 361.4 MB, free: 9.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.447e-05/0.1306, allocations: 106.5 kB / 361.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1306, allocations: 0 / 361.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001941/0.1308, allocations: 8 kB / 361.5 MB, free: 9.66 MB / 302.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.0001426/0.131, allocations: 107.2 kB / 361.6 MB, free: 9.543 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.1311, allocations: 39.92 kB / 361.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1311, allocations: 0 / 361.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.1311, allocations: 0 / 361.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.1315, allocations: 44.45 kB / 361.7 MB, free: 9.461 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.1319, allocations: 165.6 kB / 361.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.1323, allocations: 0.698 MB / 362.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.612e-05/0.1323, allocations: 3.953 kB / 362.6 MB, free: 8.539 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.227e-05/0.1323, allocations: 11.44 kB / 362.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1323, allocations: 0 / 362.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of Templates: time 0.003088/0.1354, allocations: 0.6195 MB / 363.2 MB, free: 7.918 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches