Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002468/0.002468, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002877/0.002878, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.491/1.491, allocations: 227.4 MB / 247.5 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.31 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1028, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.003658/0.1065, allocations: 0.8371 MB / 359.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005995/0.1071, allocations: 111.7 kB / 359.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.1073, allocations: 0 / 359.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.1075, allocations: 15.86 kB / 359.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.1076, allocations: 11.94 kB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1079, allocations: 35.89 kB / 359.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.1081, allocations: 43.91 kB / 359.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.1082, allocations: 19.98 kB / 360 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.19e-05/0.1083, allocations: 23.84 kB / 360 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.506e-05/0.1084, allocations: 19.92 kB / 360 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.1084, allocations: 4 kB / 360 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.457e-05/0.1084, allocations: 4 kB / 360 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.1085, allocations: 19.92 kB / 360 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1086, allocations: 27.81 kB / 360.1 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1088, allocations: 63.73 kB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1088, allocations: 0 / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1088, allocations: 0 / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.1088, allocations: 0 / 360.1 MB, free: 12.12 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.0009476/0.1098, allocations: 379.1 kB / 360.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.1098, allocations: 12.03 kB / 360.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.1099, allocations: 16.75 kB / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/0.1103, allocations: 192.2 kB / 360.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.1103, allocations: 8.375 kB / 360.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1103, allocations: 384 / 360.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005779/0.1109, allocations: 151.6 kB / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.111, allocations: 192 / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.111, allocations: 3.938 kB / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.111, allocations: 8 kB / 360.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002424/0.1112, allocations: 19.98 kB / 360.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.1115, allocations: 177.6 kB / 361.1 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.1117, allocations: 74.66 kB / 361.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.715e-05/0.1118, allocations: 48.88 kB / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.1119, allocations: 0 / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1119, allocations: 34.56 kB / 361.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.1119, allocations: 0 / 361.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002475/0.1121, allocations: 105.5 kB / 361.3 MB, free: 10.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.1122, allocations: 59.34 kB / 361.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1124, allocations: 144.6 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1124, allocations: 25.7 kB / 361.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/0.1125, allocations: 88.14 kB / 361.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.1125, allocations: 7.906 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.1126, allocations: 33.7 kB / 361.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0005247/0.1131, allocations: 318.8 kB / 362 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.884e-05/0.1131, allocations: 11.98 kB / 362 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.1132, allocations: 54.88 kB / 362.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.1134, allocations: 74.73 kB / 362.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.1134, allocations: 8 kB / 362.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001498/0.1136, allocations: 89.41 kB / 362.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1136, allocations: 19.86 kB / 362.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1136, allocations: 0 / 362.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.1136, allocations: 4 kB / 362.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.624e-05/0.1137, allocations: 12 kB / 362.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.1138, allocations: 4.25 kB / 362.3 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.224e-05/0.1138, allocations: 11.94 kB / 362.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.1138, allocations: 7.938 kB / 362.3 MB, free: 9.688 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 (sum.y,sum.u[2],sum.u[1],const.y,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.000227/0.1141, allocations: 130.9 kB / 362.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.1142, allocations: 89.66 kB / 362.5 MB, free: 9.457 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.106e-05/0.1142, allocations: 16.7 kB / 362.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1142, allocations: 0 / 362.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1143, allocations: 0 / 362.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1143, allocations: 0 / 362.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.1146, allocations: 173.7 kB / 362.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1146, allocations: 0 / 362.7 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.1146, allocations: 19.92 kB / 362.7 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1146, allocations: 3.938 kB / 362.7 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1147, allocations: 4 kB / 362.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1147, allocations: 0 / 362.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1147, allocations: 0 / 362.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000297/0.115, allocations: 105 kB / 362.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.555e-05/0.1151, allocations: 100.9 kB / 362.9 MB, free: 8.957 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.1151, allocations: 7.938 kB / 362.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.676e-05/0.1151, allocations: 0 / 362.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-06/0.1151, allocations: 0 / 362.9 MB, free: 8.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.1152, allocations: 8 kB / 362.9 MB, free: 8.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000213/0.1154, allocations: 107.2 kB / 363 MB, free: 8.836 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1154, allocations: 0 / 363 MB, free: 8.836 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1157, allocations: 12 kB / 363 MB, free: 8.824 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,const.y,sum.u[1],sum.u[2],sum.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.000164/0.1158, allocations: 103.2 kB / 363.1 MB, free: 8.711 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002264/0.1161, allocations: 48.09 kB / 363.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.1161, allocations: 0 / 363.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.1161, allocations: 7.875 kB / 363.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003857/0.1165, allocations: 54.45 kB / 363.3 MB, free: 8.605 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.117, allocations: 185.3 kB / 363.4 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006949/0.1177, allocations: 0.6984 MB / 364.1 MB, free: 7.672 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.564e-05/0.1178, allocations: 8.656 kB / 364.1 MB, free: 7.66 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.1178, allocations: 11.44 kB / 364.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1178, allocations: 0 / 364.2 MB, free: 7.648 MB / 302.1 MB Notification: Performance of Templates: time 0.003781/0.1216, allocations: 0.6969 MB / 364.8 MB, free: 6.961 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/AssignClock/AssignClock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches