Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001946/0.001946, allocations: 116.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0026/0.0026, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.544/1.544, allocations: 230.4 MB / 255.4 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.88 kB / 374.7 MB, free: 9.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1252, allocations: 53.31 MB / 428 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002396/0.1276, allocations: 0.8612 MB / 428.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000351/0.128, allocations: 115.7 kB / 429 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.1281, allocations: 4 kB / 429 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.816e-05/0.1281, allocations: 3.938 kB / 429 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001177/0.1282, allocations: 11.88 kB / 429 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.1285, allocations: 39.7 kB / 429.1 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.1286, allocations: 43.91 kB / 429.1 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1287, allocations: 16 kB / 429.1 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.614e-05/0.1287, allocations: 15.92 kB / 429.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.1288, allocations: 23.84 kB / 429.2 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1288, allocations: 4 kB / 429.2 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.1288, allocations: 4 kB / 429.2 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.378e-05/0.1288, allocations: 19.92 kB / 429.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.1289, allocations: 23.81 kB / 429.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.129, allocations: 59.67 kB / 429.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.129, allocations: 0 / 429.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.129, allocations: 0 / 429.3 MB, free: 3.113 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.129, allocations: 0 / 429.3 MB, free: 3.113 MB / 350.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.0004236/0.1294, allocations: 369.8 kB / 429.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.1295, allocations: 8.031 kB / 429.7 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.1295, allocations: 8.891 kB / 429.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1297, allocations: 204.1 kB / 429.9 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.1297, allocations: 4.375 kB / 429.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1298, allocations: 8.312 kB / 429.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.13, allocations: 127.8 kB / 430 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.13, allocations: 192 / 430 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.13, allocations: 3.938 kB / 430 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-06/0.13, allocations: 4 kB / 430 MB, free: 2.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.1301, allocations: 19.98 kB / 430 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000169/0.1303, allocations: 169.7 kB / 430.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.1304, allocations: 70.69 kB / 430.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.1304, allocations: 32.86 kB / 430.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.1305, allocations: 3.984 kB / 430.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.1305, allocations: 38.55 kB / 430.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.1305, allocations: 0 / 430.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0001859/0.1307, allocations: 93.52 kB / 430.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.1307, allocations: 55.34 kB / 430.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1309, allocations: 136.8 kB / 430.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1309, allocations: 25.7 kB / 430.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.964e-05/0.131, allocations: 84.14 kB / 430.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.131, allocations: 11.94 kB / 430.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.1311, allocations: 25.72 kB / 430.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.1313, allocations: 322.8 kB / 431.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.1313, allocations: 4 kB / 431.1 MB, free: 1.102 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.915e-05/0.1314, allocations: 62.73 kB / 431.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.454e-05/0.1315, allocations: 70.81 kB / 431.2 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1315, allocations: 4 kB / 431.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001293/0.1316, allocations: 89.45 kB / 431.3 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1316, allocations: 11.98 kB / 431.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1316, allocations: 3.938 kB / 431.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1316, allocations: 4 kB / 431.3 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.632e-05/0.1316, allocations: 4 kB / 431.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.1316, allocations: 4.5 kB / 431.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.88e-05/0.1317, allocations: 15.94 kB / 431.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.1317, allocations: 4 kB / 431.3 MB, free: 0.7773 MB / 350.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.0001274/0.1318, allocations: 121.8 kB / 431.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.517e-05/0.1319, allocations: 77.56 kB / 431.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.605e-05/0.132, allocations: 16.3 kB / 431.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.132, allocations: 4 kB / 431.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.132, allocations: 0 / 431.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.132, allocations: 0 / 431.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.1321, allocations: 169.7 kB / 431.7 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1321, allocations: 0 / 431.7 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.1321, allocations: 7.984 kB / 431.7 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1321, allocations: 0 / 431.7 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.1321, allocations: 7.938 kB / 431.7 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1321, allocations: 0 / 431.7 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1321, allocations: 0 / 431.7 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.1323, allocations: 93.08 kB / 431.8 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.853e-05/0.1324, allocations: 101 kB / 431.9 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1324, allocations: 11.94 kB / 431.9 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.505e-05/0.1324, allocations: 0 / 431.9 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-06/0.1324, allocations: 3.938 kB / 431.9 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.1324, allocations: 4 kB / 431.9 MB, free: 72 kB / 350.1 MB Notification: Performance of sorting global known variables: time 9.265e-05/0.1325, allocations: 111.2 kB / 432.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1325, allocations: 0 / 432.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.1328, allocations: 8 kB / 432.1 MB, free: 15.95 MB / 366.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.0001211/0.1329, allocations: 103.2 kB / 432.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.133, allocations: 39.92 kB / 432.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.133, allocations: 0 / 432.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-07/0.133, allocations: 0 / 432.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.1333, allocations: 50.5 kB / 432.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.1336, allocations: 183.3 kB / 432.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.1339, allocations: 0.6889 MB / 433.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.1339, allocations: 15.44 kB / 433.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1339, allocations: 0 / 433.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of Templates: time 0.002416/0.1364, allocations: 0.7955 MB / 433.9 MB, free: 14.02 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.794588160002604]