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.0009218/0.0009219, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009301/0.0009301, allocations: 192.9 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.61/1.61, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002409/0.0002411, allocations: 4 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 51.53 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.001618/0.1267, allocations: 0.5628 MB / 359.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003821/0.1271, allocations: 115.7 kB / 359.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.747e-05/0.1272, allocations: 7.938 kB / 359.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.1272, allocations: 3.938 kB / 359.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.1274, allocations: 0 / 359.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.1277, allocations: 39.89 kB / 359.4 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.1278, allocations: 35.92 kB / 359.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.128, allocations: 19.97 kB / 359.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.931e-05/0.128, allocations: 11.94 kB / 359.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.685e-05/0.1281, allocations: 15.92 kB / 359.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.1281, allocations: 0 / 359.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.1281, allocations: 0 / 359.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.025e-05/0.1282, allocations: 11.92 kB / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.1282, allocations: 37.64 kB / 359.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.1283, allocations: 39.92 kB / 359.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.109e-05/0.1283, allocations: 0 / 359.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1284, allocations: 3.938 kB / 359.5 MB, free: 12.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1284, allocations: 0 / 359.5 MB, free: 12.52 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.0004807/0.1289, allocations: 355.4 kB / 359.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1289, allocations: 8.031 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.129, allocations: 7.906 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1293, allocations: 193.8 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1293, allocations: 4 kB / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.977e-05/0.1293, allocations: 8 kB / 360.1 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/0.1298, allocations: 135.1 kB / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1298, allocations: 0 / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1298, allocations: 4 kB / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1298, allocations: 4 kB / 360.2 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.245e-05/0.1299, allocations: 15.98 kB / 360.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.1301, allocations: 177.5 kB / 360.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.1303, allocations: 66.66 kB / 360.5 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.745e-05/0.1304, allocations: 32.89 kB / 360.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.1304, allocations: 4 kB / 360.5 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.641e-05/0.1305, allocations: 38.52 kB / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.1305, allocations: 0 / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002733/0.1308, allocations: 85.53 kB / 360.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.1308, allocations: 59.72 kB / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.131, allocations: 133.8 kB / 360.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.131, allocations: 25.7 kB / 360.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.1311, allocations: 84.14 kB / 360.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.1311, allocations: 4 kB / 360.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.1311, allocations: 4 kB / 360.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1313, allocations: 314.8 kB / 361.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.1313, allocations: 12 kB / 361.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.79e-05/0.1314, allocations: 66.73 kB / 361.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.802e-05/0.1315, allocations: 16 kB / 361.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1315, allocations: 0 / 361.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001932/0.1317, allocations: 89.41 kB / 361.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.267e-05/0.1318, allocations: 11.95 kB / 361.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1318, allocations: 0 / 361.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1318, allocations: 4.25 kB / 361.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.719e-05/0.1319, allocations: 11.98 kB / 361.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.1319, allocations: 3.984 kB / 361.5 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.132, allocations: 11.94 kB / 361.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.132, allocations: 4 kB / 361.5 MB, free: 10.32 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,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 0.0001192/0.1321, allocations: 125.8 kB / 361.6 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002241/0.1323, allocations: 73.58 kB / 361.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.1324, allocations: 12.33 kB / 361.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1324, allocations: 4 kB / 361.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.1324, allocations: 4 kB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1324, allocations: 7.922 kB / 361.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.1326, allocations: 165.7 kB / 361.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1326, allocations: 0 / 361.9 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.657e-05/0.1326, allocations: 3.938 kB / 361.9 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.1327, allocations: 4 kB / 361.9 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.1327, allocations: 0 / 361.9 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1327, allocations: 3.953 kB / 361.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1327, allocations: 0 / 361.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.1329, allocations: 105 kB / 362 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.91e-05/0.133, allocations: 89 kB / 362.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.133, allocations: 4 kB / 362.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.133, allocations: 0 / 362.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-06/0.133, allocations: 7.953 kB / 362.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.133, allocations: 0 / 362.1 MB, free: 9.625 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.366e-05/0.1331, allocations: 106 kB / 362.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1332, allocations: 0 / 362.2 MB, free: 9.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003341/0.1335, allocations: 8 kB / 362.2 MB, free: 9.516 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 (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 0.0001404/0.1337, allocations: 111.2 kB / 362.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001326/0.1338, allocations: 39.94 kB / 362.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1338, allocations: 0 / 362.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-07/0.1338, allocations: 192 / 362.3 MB, free: 9.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.1342, allocations: 50.09 kB / 362.4 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.1346, allocations: 179.8 kB / 362.6 MB, free: 9.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.135, allocations: 0.6976 MB / 363.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.617e-05/0.1351, allocations: 7.953 kB / 363.3 MB, free: 8.367 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.1351, allocations: 15.38 kB / 363.3 MB, free: 8.355 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1351, allocations: 4 kB / 363.3 MB, free: 8.352 MB / 302.1 MB Notification: Performance of Templates: time 0.003502/0.1386, allocations: 0.5478 MB / 363.8 MB, free: 7.812 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.0.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