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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001532/0.001532, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.001643/0.001643, allocations: 210.5 kB / 22.13 MB, free: 0.9375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.2 MB / 255.2 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] 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=5010,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=5010,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 67.88 kB / 374.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1124, allocations: 53.32 MB / 427.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock): time 0.002332/0.1147, allocations: 0.8626 MB / 428.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003453/0.1151, allocations: 115.6 kB / 428.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.474e-05/0.1151, allocations: 7.938 kB / 428.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.54e-05/0.1152, allocations: 3.938 kB / 428.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.1153, allocations: 3.938 kB / 428.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.1155, allocations: 43.83 kB / 428.9 MB, free: 3.492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.1156, allocations: 47.91 kB / 428.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.519e-05/0.1157, allocations: 12 kB / 428.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.1158, allocations: 15.92 kB / 428.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.892e-05/0.1158, allocations: 23.86 kB / 429 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.1158, allocations: 4 kB / 429 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.1158, allocations: 4 kB / 429 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.29e-05/0.1159, allocations: 15.92 kB / 429 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.904e-05/0.1159, allocations: 27.8 kB / 429 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.116, allocations: 47.75 kB / 429.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1161, allocations: 0 / 429.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1161, allocations: 4 kB / 429.1 MB, free: 3.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1161, allocations: 4 kB / 429.1 MB, free: 3.289 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.0004447/0.1165, allocations: 363.2 kB / 429.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1165, allocations: 12.03 kB / 429.4 MB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.1166, allocations: 12.89 kB / 429.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.1168, allocations: 200.1 kB / 429.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1169, allocations: 12.36 kB / 429.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.1169, allocations: 4.375 kB / 429.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.1171, allocations: 127.8 kB / 429.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.1171, allocations: 192 / 429.8 MB, free: 2.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1172, allocations: 3.938 kB / 429.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1172, allocations: 4 kB / 429.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.443e-05/0.1172, allocations: 23.92 kB / 429.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001809/0.1174, allocations: 169.7 kB / 430 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.1175, allocations: 58.72 kB / 430 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.085e-05/0.1176, allocations: 36.89 kB / 430.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.1176, allocations: 0 / 430.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.1176, allocations: 38.5 kB / 430.1 MB, free: 2.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.1176, allocations: 3.938 kB / 430.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002019/0.1178, allocations: 93.55 kB / 430.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.1179, allocations: 63.34 kB / 430.3 MB, free: 1.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.118, allocations: 131.5 kB / 430.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.118, allocations: 29.7 kB / 430.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.1181, allocations: 80.14 kB / 430.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.1181, allocations: 15.94 kB / 430.5 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.1182, allocations: 21.72 kB / 430.5 MB, free: 1.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1183, allocations: 318.8 kB / 430.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.1183, allocations: 15.94 kB / 430.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.061e-05/0.1184, allocations: 58.86 kB / 430.9 MB, free: 1.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.402e-05/0.1185, allocations: 70.75 kB / 431 MB, free: 1.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1185, allocations: 0 / 431 MB, free: 1.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001371/0.1186, allocations: 89.64 kB / 431.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1186, allocations: 4 kB / 431.1 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.1186, allocations: 7.938 kB / 431.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.1187, allocations: 3.984 kB / 431.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.519e-05/0.1187, allocations: 11.94 kB / 431.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1187, allocations: 4 kB / 431.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/0.1187, allocations: 3.938 kB / 431.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1187, allocations: 4 kB / 431.1 MB, free: 0.957 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.0001049/0.1188, allocations: 125.9 kB / 431.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.986e-05/0.1189, allocations: 69.95 kB / 431.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.119, allocations: 20.3 kB / 431.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.119, allocations: 0 / 431.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.119, allocations: 0 / 431.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.119, allocations: 0 / 431.3 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.1191, allocations: 169.7 kB / 431.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1191, allocations: 0 / 431.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.736e-06/0.1191, allocations: 0 / 431.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1191, allocations: 0 / 431.5 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1192, allocations: 15.92 kB / 431.5 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1192, allocations: 8 kB / 431.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1192, allocations: 0 / 431.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.1193, allocations: 101.1 kB / 431.6 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.1194, allocations: 97.05 kB / 431.7 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.1194, allocations: 4.125 kB / 431.7 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.444e-05/0.1194, allocations: 0 / 431.7 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-06/0.1194, allocations: 7.875 kB / 431.7 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.1194, allocations: 8 kB / 431.7 MB, free: 248 kB / 350.1 MB Notification: Performance of sorting global known variables: time 6.758e-05/0.1195, allocations: 104.9 kB / 431.8 MB, free: 144 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1195, allocations: 0 / 431.8 MB, free: 144 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.1197, allocations: 12 kB / 431.8 MB, free: 132 kB / 350.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.0001206/0.1198, allocations: 99.23 kB / 431.9 MB, free: 24 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.12, allocations: 43.86 kB / 432 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.12, allocations: 0.5 kB / 432 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.12, allocations: 4 kB / 432 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.1203, allocations: 46.34 kB / 432 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.1206, allocations: 179.3 kB / 432.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.1209, allocations: 0.6963 MB / 432.9 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.121, allocations: 11.44 kB / 432.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.121, allocations: 0 / 432.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of Templates: time 0.002422/0.1234, allocations: 0.7998 MB / 433.7 MB, free: 14.19 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.AssignClock.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.578874476021156]